[Xapian-devel] How to locate the query term in search results?
te_quira at hotmail.com
Tue Apr 19 18:00:55 BST 2011
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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xapian-devel