lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Spencer <dave-lucene-u...@tropo.com>
Subject Re: knowing which field contributed the search result
Date Mon, 21 Feb 2005 20:20:15 GMT
John Wang wrote:

> Anyone has any thoughts on this?

Does this help?


http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Searchable.html#explain(org.apache.lucene.search.Query,%20int)
> 
> Thanks
> 
> -John
> 
> 
> On Wed, 16 Feb 2005 14:39:52 -0800, John Wang <john.wang@gmail.com> wrote:
> 
>>Hi:
>>
>>   Is there way to find out given a hit from a search, find out which
>>fields contributed to the hit?
>>
>>e.g.
>>
>>If my search for:
>>
>>contents1="brown fox" OR contents2="black bear"
>>
>>can the document founded by this query also have information on
>>whether it was found via contents1 or contents2 or both.
>>
>>Thanks
>>
>>-John
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message