[Xapian-discuss] Higher weight on exact matches when doing wild card search

Thore Harald Høye thore at startsiden.no
Mon Jun 6 09:49:00 BST 2011


Hi

I am working on a search which needs wild card support. Unfortunately 
this makes some searches for short words return bad results, because 
they match a lot of words that aren't related to what the user actually 
wants. I'm wondering if there's a good way to make specific matches get 
a higher weight than longer words?

Example: when search for car, documents containing car are more relevant 
than documents only containing carcass.

Thanks.



More information about the Xapian-discuss mailing list