RE: Filtering w/ Multiple Terms

2005-01-24 Thread Jerry Jalenak
, 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/apache/lucene/se arch/BooleanQuery.TooManyClauses.html ? You can control that limit via http://jakarta.apache.org/lucene/docs/api/org/apache

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 it

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

RE: Filtering w/ Multiple Terms

2005-01-24 Thread Jerry Jalenak
[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: I spent some time reading the Lucene

Re: Filtering w/ Multiple Terms

2005-01-24 Thread Erik Hatcher
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 Filter I see

RE: Filtering w/ Multiple Terms

2005-01-24 Thread Jerry Jalenak
, January 24, 2005 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 On Jan 24, 2005, at 2:13 PM, Jerry

RE: Filtering w/ Multiple Terms

2005-01-21 Thread Jerry Jalenak
[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 looks like I can only specify a single term

RE: Filtering w/ Multiple Terms

2005-01-21 Thread Otis Gospodnetic
: 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 looks like I can only

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 looks

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