[Xapian-discuss] Xapian 1.0.7-3.1 (python libs) : can't find anything

Richard Boulton richard at lemurconsulting.com
Tue Apr 21 12:25:25 BST 2009


First, take a look at http://trac.xapian.org/wiki/FAQ/NoMatches .  In
particular, the part about using delve to look at your DB.

It's hard to guess what exactly is going on without an actual example of a
document which should be returned, and the search entered to search for it;
if I were you, I'd use delve to display the terms in a document, and then
try and build a query which should return that document.  You can display
the exact query used from python by doing "print str(query)".

As a total guess, I'd guess that the problem you're coming against is with
stemming; perhaps when you tried enabling french stemming you didn't do it
correctly: could you paste the code you used to try this?  Note that you'll
need to call set_stemmer on the queryparser, and then call
set_stemming_strategy(STEM_SOME) to match omindex's stemming strategy.

-- 
Richard


More information about the Xapian-discuss mailing list