[Xapian-discuss] Matching exact phrases only

Chris Good chris at g2.nu
Tue Aug 8 13:06:17 BST 2006


We are using scriptindex and omega to match against a list of place names from
a text file.  The problem that we have is that we get a 100% match back
for a partial hit ie for the example query "centre" we get back hits for
CHEQUERS CENTRE, EVERSLEY CENTRE, TOWN CENTRE - all with 100% relevance.

What we would like to be able to do is to differentiate between an exact
phrase match and a partial one, in this case if all those cases either 
didn't match or came back out as say 50% relevant then that would be fine.  Is
this possible with scriptindex or would we have to write our own indexer?





More information about the Xapian-discuss mailing list