RE: what is the query syntax to search a value in more than one field.

2009-05-06 Thread Radha C.
Thanks much Avlesh . _ From: Avlesh Singh [mailto:avl...@gmail.com] Sent: Wednesday, May 06, 2009 5:01 PM To: solr-user@lucene.apache.org; cra...@ceiindia.com Subject: Re: what is the query syntax to search a value in more than one field. Query for "text" to be present

Re: what is the query syntax to search a value in more than one field.

2009-05-06 Thread Avlesh Singh
Query for "text" to be present in all the fields: q=(+A:text +B:text +C:text) Query for "text" to be present in any of the fields: q=(A:text B:text C:text) Cheers Avlesh On Wed, May 6, 2009 at 4:43 PM, Radha C. wrote: > Hi, > > I need to search a text value in field A, field B, and field C. Ca

RE: what is the query syntax to search a value in more than one field.

2009-05-06 Thread Venkatesan A.
Excellent Radha -Original Message- From: Radha C. [mailto:cra...@ceiindia.com] Sent: Wednesday, May 06, 2009 4:43 PM To: solr-user@lucene.apache.org Subject: what is the query syntax to search a value in more than one field. Hi, I need to search a text value in field A, field B, and fi