Re: Block Join Faceting issue

2018-07-25 Thread Mikhail Khludnev
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

Re: Block Join Faceting issue

2018-07-24 Thread sagandhi
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

Re: Block Join Faceting issue

2018-07-18 Thread soham gandhi
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

Re: Block Join Faceting issue

2018-07-18 Thread Mikhail Khludnev
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