The latter is supposed to work:
http://localhost:8983/solr/core0/select?shards=localhost:8983/solr/core0,localhost:8983/solr/core1&q=column1
:"A" OR column2:"B"

The first query cannot work as there is no document neither in core0 nor in
core1 which has A in field column1 and B in field column2 but only
documents which have B in column2 (in core1) OR A in column1 (in core0).

Regards.
Tommaso

2012/5/15 ravicv <ravichandra...@gmail.com>

> Hi,
>
> I have 2 cores configured in my solr instance.
>
> Both cores are using same schema.
>
> I have indexed column1 in core0 and column2 in core1
>
> My search query is
>
>
> http://localhost:8983/solr/core0/select?shards=localhost:8983/solr/core0,localhost:8983/solr/core1&q=column1
> :"A"
> AND column2:"B"
>
> No result found
>
>
>
> http://localhost:8983/solr/core0/select?shards=localhost:8983/solr/core0,localhost:8983/solr/core1&q=column1
> :"A"
> OR column2:"B"
>
> Whether AND is supported in multi core search?
>
> Thanks,
> ravi
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Problem-with-AND-clause-in-multi-core-search-query-tp3983800.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to