Re: Search across nested child docs

2016-11-08 Thread Vinod Singh
Yes that works well. Somehow I missed to mention the full condition in
previous message. This is what I am looking for -

fq={!parent which=PARENT_DOC_TYPE:PARENT}((childA_field_1:234 AND
childA_field_2:3) OR (childA_field_1:432 AND childA_field_2:6))

Regards,
Vinod



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-across-nested-child-docs-tp4304956p4305105.html
Sent from the Solr - User mailing list archive at Nabble.com.


Search across nested child docs

2016-11-07 Thread Vinod Singh
I have nested documents indexed in SOLR 6.2. The block join query works well
on both parent and child documents. My use case has a scenario where a
condition needs to be fulfilled across two child docs as shown below -

fq={!parent which=PARENT_DOC_TYPE:PARENT}(childA_field_1:432 AND
childA_field_2:6)

But this does not give any results though indexed documents has data that
fulfills the condition.

How can I have search condition that spans multiple child docs ?

Regards,
Vinod



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-across-nested-child-docs-tp4304956.html
Sent from the Solr - User mailing list archive at Nabble.com.