I use a BooleanQuery and add individual queries to it, it is working for me.

-----Original Message-----
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 1:59 AM
To: Lucene Users List; [EMAIL PROTECTED]
Subject: Re: Multiple field searching


I'm using MultiTermQueryParser and it works for me.

Otis

--- Tate Jones <[EMAIL PROTECTED]> wrote:
> hi,
> 
> I am trying to search across multiple fields using the following
> query
> 
> +keyword:computers +subject:News content:xml
> or
> +(keyword:{computers}) +(subject:{News}) content:xml
> 
> i have added the fields to the document correctly. 
> 
> Have also tried using the MutipleFieldQueryParser without success.
> 
> The only query that works is, which is not correct as they are OR's
> keyword:computers subject:IT content:xml
> 
> Is anyone having the same problems
> 
> Thanks in advance
> Tate
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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

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

Reply via email to