Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Detecting why a collection of documents matched a query

Khawaja Shams

2008-10-12

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello, I noticed that indexSearcher.explain() method is not supposed to be
run for a large collection of documents, so I am looking for an alternative
that just explains why a document matched without all the scoring
information. Basically, I would like to know which field of the document was
responsible for getting it included in the results so I can give users some
indication of what matched. We present the results 100 documents at a time.
I would appreciate any ideas or directions towards implementation.


Thanks!
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.