On Sep 10, 2007, at 4:12 AM, makkhar wrote:
This question has been asked numerous times here. But the answer
has never
been satisfactory. Can someone answer it full and final, please ?
If you get back a document as a search hit. How do you find out
which field
in it matched ? Just the position of the field is sufficient !
Short answer is you can't. Longer answer, of course Lucene matches
on a per-field basis, so it is determining those sorts of things
during the search operation, but it does not keep that information
handy along with the Hit.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]