lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Multifield query parser
Date Sat, 18 Dec 2010 14:49:39 GMT
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message