Sorting documents by nested / child docs with FunctionQueries

2015-06-05 Thread DorZion
Hey, I'm using Solr 5.0.0 and I'm trying to sort documents with FunctionQueries. The problem is that I'm trying to sort those documents with their child documents elements. Here is an example: I have three documents, one is parent, the others are child documents (_childDocuments_). { "id": "Arti

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-09 Thread DorZion
... ... Other functions that use the and returns the floatVal value Very grateful for your help, Dor Mikhail Khludnev wrote > pickup the patch https://issues.apache.org/jira/browse/SOLR-5882 and/or > chase committers. > > On Fri, Jun 5, 2015 at

Re: Sorting documents by nested / child docs with FunctionQueries

2015-07-07 Thread DorZion
Now I'm trying to sort the children by normal field and not by function values. Is there any way to do so? Thanks, Dor -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-documents-by-nested-child-docs-with-FunctionQueries-tp4209940p4216169.html Sent from the Solr -

Sorting documents by child documents

2015-07-07 Thread DorZion
Hey, I'm using Solr 4.10.2 and I have child documents in every parent document. Previously, I used FunctionQuery to sort the documents: http://lucene.472066.n3.nabble.com/Sorting-documents-by-nested-child-docs-with-FunctionQueries-tp4209940.html

Re: Sorting documents by child documents

2015-07-14 Thread DorZion
: 6 > Children 1 > Id:61 > Title : "C" > Children 2 > Id:62 > Title : "B" > > How can you sort the parent based on children fields ? > You can sort a parent based on a value calculated out of children fie