[Xapian-discuss] phrase/near match positions

Jean-Francois Dockes jean-francois.dockes at wanadoo.fr
Sat Nov 11 10:29:55 GMT 2006


I am looking for a way to determine at which term position in a document a
NEAR or PHRASE match occurrs (for abstract/sample/highlighting purposes).

Would there be something I'm not seeing in the API that would
help/do this for me?

If not, would it be suitable to duplicate/adapt the code from
phrasepostlist.cc to redo the matching, or would someone see a better way ?

Regards,
J.F. Dockes



More information about the Xapian-discuss mailing list