apache / apache/lucene

Combine matches from multiple fields into one with the postings highlighter [LUCENE-5452]

Open
#6,515 4 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor module:core/search type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Like you can do with the FVH, it'd be nice to be able combine matches from multiple fields with the postings highlighter.

Note that the postings highlighter doesn't do phrase matching and doesn't use term boosts so some of the FVH's field combining features won't work. It'd be nice to get some of them, though.

---
Migrated from [LUCENE-5452](https://issues.apache.org/jira/browse/LUCENE-5452) by Nik Everett (@nik9000)
Attachments: [LUCENE-5452.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5452/LUCENE-5452.patch)

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Start by reviewing the attached LUCENE-5452.patch and comparing the postings highlighter with the FVH behavior described in the issue. Define which field-combining features remain valid without phrase matching or term boosts, then verify the supported behavior with relevant highlighter tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.