We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results when using fast vector highlighter with the percolator are wrong. The test below reproduces this. The reason is a bug in MemoryIndex, see https://issues.apache.org/jira/browse/LUCENE-5444
Will be resolved with lucene 4.7
DELETE phrasetest PUT phrasetest { "mappings": { "doc": { "properties": { "body": { "properties": { "text": { "type": "string", "term_vector": "with_positions_offsets" } } } } } } } POST phrasetest/_refresh POST phrasetest/.percolator/Q { "query": { "match": { "text": { "query": "foo bar" } } } } POST phrasetest/doc/_percolate { "doc": { "body": [ { "text": "la la" }, { "text": "foo bar foo bar foo" } ] }, "size": 1, "highlight": { "fields": { "body.text": { "type": "fvh", "number_of_fragments": 20 } } } }
yields:
... "highlight": { "body.text": [ "<em>la </em>la", "fo<em>o b</em>a<em>r f</em>o<em>o b</em>ar foo" ] } ...
The text was updated successfully, but these errors were encountered:
Upgrade to Lucene 4.7
a12e02a
Closes #5104 Closes #5129 Closes #3757
609e88c
Closes elastic#5104 Closes elastic#5129 Closes elastic#3757
30d7b8d
77f37a9
No branches or pull requests
Results when using fast vector highlighter with the percolator are wrong. The test below reproduces this. The reason is a bug in MemoryIndex, see https://issues.apache.org/jira/browse/LUCENE-5444
Will be resolved with lucene 4.7
yields:
The text was updated successfully, but these errors were encountered: