Re: Mix Index having child-free and nested documents

2020-02-27 Thread Naman Jain
here is query /solr/test/select?q={!parent%20which=doc_type:Parent%20score=max}%20%20{!boost%20b=100.0%20}color:Red%20{!dismax%20qf=title%20v=%27Regular%27%20score=total}&fl=id,product_class_type,title,score,color&wt=json

Mix Index having child-free and nested documents

2020-02-27 Thread Naman Jain
I have a solr core which has a mix of child-free and with-child documents, sample xml: 4 Regular Shirt Parent Black 8 Solid Rug Parent Solid 1 Regular color Shirts Parent 2 Child Red> 3 Child Blue> 5 Rugs Parent 6 Child Abstract 7 Child Printed Now i want to write a query whic