Hi Erick ,

My Schema is as follows

<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" /> 

My data which i am indexing in core0 is 
id:1,  value:'123456',   column1:'A',    column2:'null'
id:2,  value:'1234567895252',  column1:'B',    column2:'null'

My data which i am indexing in core1 is 
id:3,  value:'123456',  column1:'null',  column2:'C'

Now my query is 
http://localhost:8983/solr/core0/select?shards=localhost:8983/solr/core0,localhost:8983/solr/core1&q=column1:"A";
AND column2:"C"

Response: No data

In database we can achieve this by query querying separately 
 as follows

select value from core0 where column1='A'
intersect
select value from core0 where column1='C'

Same scenario i am trying to implement in my multi core SOLR setup. But i am
unable to do so.
Please let me know what should i do to implement this type of scenario in
SOLR.

I am using SOLR 1.4 version.

Thanks 
Ravi 




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-with-AND-clause-in-multi-core-search-query-tp3983800p3983881.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to