q=*:*&fq={!parent which="doc_type:parent"}+doc_type:child -child_color:*
Make sure that + isn;t grabbed by url encoding.
On Wed, Jul 25, 2018 at 8:23 AM sagandhi wrote:
> Hi Mikhail,
>
> Thank you for suggesting to use json facet. I tried json.facet, it works
> great and I am able to make a si
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.
He
I am using solr 6.2.1. Is json.facet supported there? If not, is there a
way to combine the 2 queries into a single query in solr 6.2.1? In the
example I mentioned, could you please help me form a sample query where I
can facet on both parent as well as child docs?
Thanks,
Soham
On Wed, Jul 18, 2
child.facet.field works if parent query goes as q ie q={!parent
which="doc_type:parent"}color:blue.
However, it's considered as deprecated and proposed to be replaced with
json.facet and uniqueBlock
On Wed, Jul 18, 2018 at 7:04 AM soham gandhi
wrote:
> Hi,
>
> I am working on a query that must
Hi,
I am working on a query that must return parent docs and facet on both the
parent and child fields. Here's a sample doc-
1
merc
car
sagandhi
2
3
parent
2
child
S
blue
3
Z
25
child
I want to search for "merc" or "*" and return facets for type/user from
parent docs, and code/color from chi