I really don't understand what you're trying to achieve.

"query : column1:"A" should searched in core0 and column2:"B" should be
searched in core1 and later the results from both queries should use
condition AND and give final response.?"

core1 and core0 are completely separate cores, with separate documents.
The only relationship between documents in the two cores is that they
should conform to the same schema since you're using shards. So saying
that your query should search in just one column in each core then AND the
results really doesn't make any sense to me.

I suspect there are some assumptions you're not explicitly stating about the
relationship between documents in separate cores that would help here...

Best
Erick

On Tue, May 15, 2012 at 3:07 AM, ravicv <ravichandra...@gmail.com> wrote:
> Thanks Tommaso .
>
> Could you please tell me is their any way to get this scenario to get
> worked?
>
> http://localhost:8983/solr/core0/select?shards=localhost:8983/solr/core0,localhost:8983/solr/core1&q=column1:"A";
> AND column2:"B"
>
> Is their any way we can achieve this below scenario
>
> query : column1:"A" should searched in core0 and column2:"B" should be
> searched in core1 and later the results from both queries should use
> condition AND and give final response.?
>
> since both will return common field as response.
>
> For reference my schema is :
>
>   <field name="id" type="string" indexed="true" stored="true"
> required="true" />
>   <field name="value" type="string" indexed="true" stored="true" />
>   <field name="column1" type="string" indexed="true" stored="true"/>
>   <field name="column2" type="string" indexed="true" stored="true" />
>
> Thanks
> Ravi
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Problem-with-AND-clause-in-multi-core-search-query-tp3983800p3983806.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to