> While searching across multiple fields using
> MultiFieldQueryParser, when a
> doc is returned how do I know in this doc which field(among
> the multiple
> fields i queried over) contained the query term?

You can extract that info from org.apache.lucene.search.Explanation.

http://lucene.apache.org/java/2_9_3/api/core/org/apache/lucene/search/Explanation.html


      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to