FAQ
I construct a boolean query to search a term in each of the field of
the index. Once I retrieve the hits, is it possible to retrieve which
field matched to the particular term.
For example:
I have fields A B C with data a b c.
A B C
a b a

Then I search for A:a B:a C:a and get a hit.
Can I tell which field(s) the hit occured in?
I could do separate searches as per the field but that would take more
time and also upset my ranking.

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedJun 9, '09 at 8:00a
activeJun 9, '09 at 8:00a
posts1
users1
websitelucene.apache.org

1 user in discussion

Shayak Sen: 1 post

People

Translate

site design / logo © 2022 Grokbase