you probably wanted to query this:

q=profileId:"99964" OR profileId:"10076" OR tagName:("MUSIC" AND "DESIGNER")

otherwise SOLR matches "DESIGNER" against you default field (whatever it
is) and ANDs it with tagName:"MUSIC"

On Wed, Nov 23, 2011 at 11:07 AM, sivaprasad <sivaprasa...@echidnainc.com>wrote:

> Hi,
>
> I have two indexed fields called profileId and tagName.When i issue a query
> like q=profileId:"99964" OR profileId:"10076" OR tagName:"MUSIC" AND
> "DESIGNER", i am getting only the results for tagName:"MUSIC" AND
> "DESIGNER".The results are not containing profileId 99964 and 10076.
>
> Can anybody tell what i am doing wrong?
>
> Regards,
> Siva
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Search-on-multiple-fields-is-not-working-tp3530145p3530145.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Regards,

Dmitry Kan

Reply via email to