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 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 handling this?
> 
> Thanks!
> 
> Jerry Jalenak
> Senior Programmer / Analyst, Web Publishing
> LabOne, Inc.
> 10101 Renner Blvd.
> Lenexa, KS  66219
> (913) 577-1496
> 
> [EMAIL PROTECTED]
> 
> This transmission (and any information attached to it) may be confidential and
> is intended solely for the use of the individual or entity to which it is
> addressed. If you are not the intended recipient or the person responsible for
> delivering the transmission to the intended recipient, be advised that you
> have received this transmission in error and that any use, dissemination,
> forwarding, printing, or copying of this information is strictly prohibited.
> If you have received this transmission in error, please immediately notify
> LabOne at the following email address: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to