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 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. <cra...@ceiindia.com> wrote:


Hi,

I need to search a text value in field A, field B, and field C. Can anybody
tel me how to form the query.

I am thinking of the option like q=A:text AND B:text AND C:text . Is it
correct ?

Thanks in advance.



Reply via email to