Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - Search on multiple fields is not working


+
sivaprasad 2011-11-23, 09:07
Copy link to this message
-
Re: Search on multiple fields is not working
Dmitry Kan 2011-11-23, 11:23
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 <[EMAIL PROTECTED]>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