lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sagandhi <>
Subject Re: Block Join Faceting issue
Date Wed, 25 Jul 2018 05:23:14 GMT
Hi Mikhail,

Thank you for suggesting to use json facet. I tried json.facet, it works
great and I am able to make a single query instead of two. Now I am planning
to get rid of the duplicate child fields in parent docs. However I ran into
problems while forming negative queries with block join.

Here's what I would like to query - Get me parent docs whose children do not
have a particular field.
I tried these but none worked - 

q=*:*&fq={!parent which="doc_type:parent"}*-*child_color:*
q=*:*&fq={!parent which="doc_type:parent" v=$qq}&qq=(!child_color:*)

Currently I have duplicate entries of child fields in parent docs, so I am
able to do this - 

Is there a way to form this query using block join? 


Sent from:

View raw message