RE: Filtering w/ Multiple Terms

2005-01-24 Thread Jerry Jalenak
5 1:27 PM > To: Lucene Users List > Subject: Re: Filtering w/ Multiple Terms > > > As Paul suggested, output the Lucene document numbers from your Hits, > and also output which bit you're setting in your filter. Do > those sets > overlap? > > Erik >

Re: Filtering w/ Multiple Terms

2005-01-24 Thread Erik Hatcher
lto:[EMAIL PROTECTED] Sent: Monday, January 24, 2005 1:07 PM To: Lucene Users List Subject: Re: Filtering w/ Multiple Terms On Jan 24, 2005, at 12:26 PM, Jerry Jalenak wrote: I spent some time reading the Lucene in Action book this weekend (great job, btw) Thanks! public class AccountFilter extends Fi

RE: Filtering w/ Multiple Terms

2005-01-24 Thread Jerry Jalenak
-1496 [EMAIL PROTECTED] > -Original Message- > From: Erik Hatcher [mailto:[EMAIL PROTECTED] > Sent: Monday, January 24, 2005 1:07 PM > To: Lucene Users List > Subject: Re: Filtering w/ Multiple Terms > > > > On Jan 24, 2005, at 12:26 PM, Jerry Jalenak wrote: &

Re: Filtering w/ Multiple Terms

2005-01-24 Thread Erik Hatcher
On Jan 24, 2005, at 12:26 PM, Jerry Jalenak wrote: I spent some time reading the Lucene in Action book this weekend (great job, btw) Thanks! public class AccountFilter extends Filter I see where the AccountFilter is setting the cooresponding 'bits', but I end up without any 'hits': Entering Acco

Re: Filtering w/ Multiple Terms

2005-01-24 Thread Paul Elschot
Jerry, On Monday 24 January 2005 18:26, Jerry Jalenak wrote: > I spent some time reading the Lucene in Action book this weekend (great job, > btw), and came across the section on using custom filters. Since the data > that I need to use to filter my hit set with comes from a database, I > thought

RE: Filtering w/ Multiple Terms

2005-01-24 Thread Jerry Jalenak
L PROTECTED] > -Original Message- > From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] > Sent: Friday, January 21, 2005 8:15 AM > To: Lucene Users List > Subject: RE: Filtering w/ Multiple Terms > > > This: > http://jakarta.apache.org/lucene/docs/api/org/apac

RE: Filtering w/ Multiple Terms

2005-01-21 Thread Otis Gospodnetic
> > [EMAIL PROTECTED] > > > > -Original Message- > > From: Erik Hatcher [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 20, 2005 5:05 PM > > To: Lucene Users List > > Subject: Re: Filtering w/ Multiple Terms > > > > > > &

RE: Filtering w/ Multiple Terms

2005-01-21 Thread Jerry Jalenak
From: Erik Hatcher [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 20, 2005 5:05 PM > To: Lucene Users List > Subject: Re: Filtering w/ Multiple Terms > > > > On Jan 20, 2005, at 5:02 PM, Jerry Jalenak wrote: > > > In looking at the examples for filtering of hits, it

Re: Filtering w/ Multiple Terms

2005-01-20 Thread Erik Hatcher
On Jan 20, 2005, at 5:02 PM, Jerry Jalenak wrote: In looking at the examples for filtering of hits, it looks like I can only specify a single term; i.e. Filter f = new QueryFilter(new TermQuery(new Term("acct", "acct1"))); I need to specify more than one term in my filter. Short of using

Re: Filtering w/ Multiple Terms

2005-01-20 Thread Andy Goodell
Maybe you should try making a BooleanQuery out of the TermQuerys and then passing that to QueryFilter. I've never tried it, but it should work, right? - andy g On Thu, 20 Jan 2005 16:02:26 -0600, Jerry Jalenak <[EMAIL PROTECTED]> wrote: > In looking at the examples for filtering of hits, it loo

Filtering w/ Multiple Terms

2005-01-20 Thread Jerry Jalenak
In looking at the examples for filtering of hits, it looks like I can only specify a single term; i.e. Filter f = new QueryFilter(new TermQuery(new Term("acct", "acct1"))); I need to specify more than one term in my filter. Short of using something like ChainFilter, how are others handli