Lucene Query Field Info

2009-06-09 Thread Shayak Sen
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 wh

Re: Stop Word list File processing

2009-06-30 Thread Shayak Sen
Hi, When you make the custom filter for removing stopwords, use the constructor to load the stopwords list then use it as you were earlier. On Wed, Jul 1, 2009 at 1:23 PM, Harsha1<99harsha.h@gmail.com> wrote: > > Hi, > I have a string through i need to filter off some of words (say stop words

Re: How to use RegexTermEnum

2009-07-04 Thread Shayak Sen
I might be skirting the issue here, but wouldnt it be easier and faster if you remove the sid before you add it to the index? Cheers, Shayak On Sat, Jul 4, 2009 at 3:03 AM, Erick Erickson wrote: > WARNING: I haven't actually tried using RegexTermEnum in a > long time, but... > > I *think* that th