Giving 'across two child docs', I think you are looking for
fq={!parent which=PARENT_DOC_TYPE:PARENT}childA_field_1:432&fq={!parent
which=PARENT_DOC_TYPE:PARENT}childA_field_2:6

On Mon, Nov 7, 2016 at 9:45 PM, Vinod Singh <vi...@vinodsingh.com> wrote:

> 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.
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to