[Xapian-devel] FLAG_PARTIAL and subset words

Greg freediving at gmail.com
Fri May 13 02:22:37 BST 2011


I've encountered a very interesting bug/limitation of Xapian while
trying to implement an auto-complete search. For instance while
searching for "volvo v" the results were identical to just "volvo"
digging a little bit I found out it has to do with the fact that the
second partial word is a subset of the first word so results such as
Volvo v90 are not considered to be better than Volvo s70, same thing
happens with Ford F150, basically searching for "volvo vol" (assuming
volvo volume) ignores the second partial word. It's not a huge issue,
since "volvo s" works as expected and is only a special case but I
thought it was worth mentioning.



More information about the Xapian-devel mailing list