Re: Sorting documents by child documents

2015-07-15 Thread Mikhail Khludnev
If you inlined the query rather than referenced the thread, it would be easy to understand the problem. once again, what doesn't meet your expectation: order of returned parents or order of children attached to a parent doc? On Wed, Jul 15, 2015 at 1:56 AM, DorZion wrote: > I can sort the parent

Re: Sorting documents by child documents

2015-07-14 Thread DorZion
I can sort the parent documents with the ScoreMode function, you can take a look here: http://lucene.472066.n3.nabble.com/Sorting-documents-by-nested-child-docs-with-FunctionQueries-tp4209940.html

Re: Sorting documents by child documents

2015-07-08 Thread Alessandro Benedetti
I would like to get a deep understanding of your problem… How do you want to sort a parent document by a normal field of children ?? Example : Document 1 Id: 5 Children 1 Id:51 Title : "A" Children 2 Id:52 Title : "Z" Document 2 Id: 6