Enable FastVectorHighlighter to Work on MultiPhraseQuery [LUCENE-7553]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
FastVectorHighlighter will not highlight on MultiPhraseQuery - will instead just skip and return results.
Example:
I have synonyms.txt file and it contains
break,breaks,broke,brake
If I search for "brake vehicle", the query parses to MultiPhraseQuery with brake vehicle, break vehicle, breaks vehicle, broke vehicle as possible matches. Would like highlighting to occur on all of those results. Currently there are no highlighting results at all.
---
Migrated from [LUCENE-7553](https://issues.apache.org/jira/browse/LUCENE-7553) by Esther Quansah, updated Nov 10 2016
Environment:
```
Linux, OSx, Windows
```
Contributor guide
Research direction
Start by locating FastVectorHighlighter handling for MultiPhraseQuery and reproduce the example using synonyms.txt with the query "brake vehicle". Done means highlighting is returned for results matching brake, break, breaks, or broke followed by vehicle, rather than being skipped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100