Re: Finding out which field matched for a query

2007-05-06 Thread makkhar
Well, the approach you suggested is what we use now. We regex use pattern matching to find the search term out. However, due to this we cannot use some of the very sophisticated queries which lucene supports (like boolean query etc). We sure can use highlighting to find out this information. But h

Re: Finding out which field matched for a query

2007-05-06 Thread Daniel Noll
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 probl