Page MenuHomePhabricator

CirrusSearch: Prefix search doesn't boost results from titles
Closed, ResolvedPublic


Prefix search doesn't boost results from titles. In practice this turns out not to be that bad because prefix queries are reasonably uncommon and pages that are titled X seem to have X all over their text.

Version: unspecified
Severity: normal



Event Timeline

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

Turns out that the bug in Elasticsearch was caused by a bug in Lucene [1] which has been fixed. The fix will be incorporated into Elasticsearch when they upgrade to the as yet unreleased version of Lucene. At that rate we'll see a fix in a few months.

Luckily, I discovered a work around. It is less efficient but we can live with that while the bug is fixed. I'll implement that now.


Change 86103 had a related patch set uploaded by Manybubbles:
Fix boosts on prefix queries.

Change 86103 merged by jenkins-bot:
Fix boosts on prefix queries.