I am using Xapian to index a document set of about 5000 documents, each with an average of 15 pages per document. The search is happening quickly and the relevancy is high. When I show the results, I'm currently showing the document title and the first few lines from the document. Is it possible to show the first lines of a document that matched the search terms? Often times the first few lines of a file don't make it completely clear why a document was ranked highly. Thanks -r
On Thu, Apr 19, 2007 at 02:21:09PM -0400, Ryan Mahoney wrote:> Is it possible to show the first lines of a document that > matched the search terms? Often times the first few lines of a file > don't make it completely clear why a document was ranked highly.There's no such feature built in at present, though it's something I'd like to see. Meanwhile, this may prove useful: http://article.gmane.org/gmane.comp.search.xapian.general/4111 Cheers, Olly