RE: Searching in multiple fields

2007-03-11 Thread netaji . k
[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 > >

RE: Searching in multiple fields

2007-03-09 Thread Chris Hostetter
: 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

RE: Searching in multiple fields

2007-03-09 Thread Kainth, Sachin
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

RE: Searching in multiple fields

2007-03-09 Thread Kainth, Sachin
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

RE: Searching in multiple fields

2007-03-09 Thread netaji . k
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

RE: Searching in multiple fields

2007-03-09 Thread netaji . k
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)

RE: Searching in multiple fields

2007-03-09 Thread Kainth, Sachin
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