Shen Li
2011-Apr-19 17:00 UTC
[Xapian-devel] How to locate the query term in search results?
Hi everyone, I'm trying to build a summary of each document within the search results, and the summary is supposed to be the sentence where the queried term appears in the document. However, I'm not sure about where to start. I mean, should I call the class of XapianDocument and search through the termlist of each document in the Mset or it'll be better if I begin with the positionlist of the term to get it located in each document? Any suggestion and clues are welcome! Much thanks! Best, Shen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20110420/0dd287b1/attachment.html>