Re: How to sort docs basing on nested docs' fields

2016-03-14 Thread Jhon Smith
/12/grandchildren-and-siblings-with-block.html > > > On Fri, Mar 11, 2016 at 4:08 PM, Jhon Smith <doom...@gmx.com> wrote: > > > Mikhail, > > > > > I suppose there are a clue over there > > > http://blog.griddynamics.com/2015/08/scoring-join-party-in-solr-53

Re: How to sort docs basing on nested docs' fields

2016-03-11 Thread Jhon Smith
Mikhail, > I suppose there are a clue over there > http://blog.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html It worked for two level docs. If we have 3 level nested docs: parent -> middle -> child [with price field we try to sort] then there is a problem when score=min: If we

Re: How to pass facet info of the top inner nested doc to the top parent doc

2016-03-11 Thread Jhon Smith
Mikhail, >What if you just forgen about middle level It worked, thank you. I need facets from middle level too, and making child query to match both middle and child level allowes this and facet counts look working fine.

Facets of nested docs when parent docs are grouped

2016-03-10 Thread Jhon Smith
Is it bug or by design: if i group docs with option "=true" then facet counts are grouped and "represent" groups, including the fact that no count can be larger than number of groups. But when the docs have nested docs and i additionally fetch neested docs facet with option

How to pass facet info of the top inner nested doc to the top parent doc

2016-03-09 Thread Jhon Smith
There are 3 levels of nested docs: parent -> mniddle -> child. E.g. 9 parent 10 middle Nike 11 Red XL 12 Blue XL If i retrieve middle docs with q={!parent which=type_s:middle}...=SIZE_s then facets work fine (in the latest solr): XL(1) But i want to retrieve top parent documents

How to sort docs basing on nested docs' fields

2016-03-09 Thread Jhon Smith
There are usual documents: products and nested documents containing different prices. How to sort product documents basing on minimum price in nested documents. Example: 1 product 2 price 100 3 price 200

Solr sort and facet of nested doc fields

2016-03-01 Thread Jhon Smith
I am looking for a solr solution of this model: Product (common fields) ->SKU (color, size) and STORE(store_name) <-(price)-> SKU Listing contains only products but other facets (store names, colors) and sorting (by min price) should work either. I can have 3 types of docs: products, skus and