Page MenuHomePhabricator

CirrusSearch doesn't highlight strict phrase matches
Closed, ResolvedPublic

Description

CirrusSearch doesn't highlight strict phrase matches. If you search for "foo bar" or "foo bar"~3 foo and bar will be searched but not highlighted. Searching for "foo bar"~ or "foo bar"~3~ will correctly highlight foo and bar.

This tracks upstream issue: https://github.com/elasticsearch/elasticsearch/issues/3750


Version: unspecified
Severity: normal
Whiteboard: Elasticsearch_1.1
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=54020
https://bugzilla.wikimedia.org/show_bug.cgi?id=54878
https://github.com/elasticsearch/elasticsearch/issues/3757

Details

Reference
bz54526

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:15 AM
bzimport set Reference to bz54526.
bzimport added a subscriber: Unknown Object (MLST).

Note that strict phrases aren't possible without the fix for Bug 54020 so this won't be seen until that is merged and deployed.

Looks like Elasticsearch picked up the fix for this when upgrading to Lucene 4.7 in the Elasticsearch 1.1 and master branches. Yay.