Page MenuHomePhabricator

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

Description

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

Details

Reference
bz54399

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.

[1] https://issues.apache.org/jira/browse/LUCENE-5245

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

https://gerrit.wikimedia.org/r/86103

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

https://gerrit.wikimedia.org/r/86103