lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <dan...@nuix.com>
Subject Re: Finding out which field matched for a query
Date Tue, 08 May 2007 00:04:34 GMT
On Monday 07 May 2007 06:19:47 makkhar wrote:
> Here's what is going wrong for me :
>
> I have 10 documents, each with 10 fields with "parameterName and
> parameterValue". Now, When i search for some term and I get 5 hits, how do
> I find out which paramName-Value pair matched ? Very simple a problem, but
> I could find no information on the forum for this.

Seems easy enough to do it by looking at the text of the fields (we do this 
ourselves for highlighting the hits.)

Daniel

-- 
Daniel Noll

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://nuix.com/                               Fax: +61 2 9212 6902

---------------------------------------------------------------------
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