[mailto:[EMAIL PROTECTED]
> Sent: 09 March 2007 10:42
> To: solr-user@lucene.apache.org
> Subject: RE: Searching in multiple fields
>
>
> Description:php AND title:php AND Subject:php AND notes:php
>
> this one did not work
>
> i will try the other way too and see
>
>
: AND will find documents that have php in all fields but OR will find
: documents that have php in any field so you can try the same query with
: all ORs.
For the record, this is where the DixMaxRequestHandler really shines ...
instead of needing to query for "php" in each of those fields, you j
Subject: RE: Searching in multiple fields
Description:php AND title:php AND Subject:php AND notes:php
this one did not work
i will try the other way too and see
thanks
aditya
> Well,
>
> One way you can do this is:
>
> "Description:php AND title:php AND Subject:php AND note
The AND has to be in all caps.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 09 March 2007 10:42
To: solr-user@lucene.apache.org
Subject: RE: Searching in multiple fields
Description:php AND title:php AND Subject:php AND notes:php
this one did not work
i
Description:php AND title:php AND Subject:php AND notes:php
this one did not work
i will try the other way too and see
thanks
aditya
> Well,
>
> One way you can do this is:
>
> "Description:php AND title:php AND Subject:php AND notes:php"
>
> The other option is to create an extra field in y
sorry it did work and it is working for OR too.
i will try the second method too.
thank you
aditya
> Well,
>
> One way you can do this is:
>
> "Description:php AND title:php AND Subject:php AND notes:php"
>
> The other option is to create an extra field in your index called All
> (or whatever)
Well,
One way you can do this is:
"Description:php AND title:php AND Subject:php AND notes:php"
The other option is to create an extra field in your index called All
(or whatever) that is a concatenation of these fields with a big slop
between the four parts of this field and then you can searc