Charles,

See http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg00176.html

Regards,
K

----- Original Message -----
From: "Charles Harvey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 8:39 AM
Subject: Searching multiple fields in one Index of Documents


> I have a working installation of Lucene running against indexes created by
> a database query.
> Each Document in the Index contains fifteen or twenty fields. I am
> currently searching only one field (that contains concatenated database
> columns) because I cannot figure out how to search multiple fields. So:
>
> How can I use Lucene to search more than one field in an Index of
Documents?
>
> eg:
> field CATEGORY is(or contains) 'bar'
> AND
> field BODY contains 'foo'
>
>
>
>
> _________________
>
> "The trouble with the rat-race is that even if you win you're still a
rat."
> --Lily Tomlin
> _________________
> Charles Harvey
> Developer
> http://www.philly.com
> Wk: 215 789 6057
> Cell: 215 588 0851
>
>
> --
> 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