[Xapian-devel] term / posting question

Alexander Lind malte at webstay.org
Mon May 15 19:55:49 BST 2006


Hi guys

Sorry to take up your time with this, I have just been stuck on a little
problem with xapian for a few days here and I can't seem to figure it
out for myself.

I have created an xapian index (using the php bindings). I have added
documents to it, with values, terms and postings. I can successfully
search in this index on anything that is in a posting, but if I search
on a word that exists as a term only, the Enquire_get_mset() function
returns 0 results.

I know the term is for sure in the document, because if I list the terms
with termiterator_get_term(), the term that I am trying to search for
above is listed.

Have I misunderstood what the terms should be used for, or is there some
option that I should pass to the enquire function to make it look in the
term list as well?

Thanks
Alec



More information about the Xapian-devel mailing list