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

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-24 Thread Mikhail Khludnev
t; 20 > parent > Nike > > 21 > Red > M > > > 22 > Blue > XL > XXL > > > > 30 > parent > Puma > > 31

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-24 Thread Mikhail Khludnev
31 Red XL 32 Blue M On Mon, Jun 22, 2015 at 2:04 PM, Maya G wrote: > I've tried your solution and encountered a problem. > > My child document has a multi-valued field. > > When I query the doc by its' guid, all of the field's values are returned. > When I use the join block query only one value is returned for the > multi-value field. > > Do you have any suggestions? > Thank you, > Maya > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Sorting-documents-by-nested-child-docs-with-FunctionQueries-tp4209940p4213242.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com>

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-22 Thread Maya G
gestions? Thank you, Maya -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-documents-by-nested-child-docs-with-FunctionQueries-tp4209940p4213242.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-09 Thread Mikhail Khludnev
> >> * > >> * This is just an example, the schema and the data aren't real.* > >> > >> I want to analyze & run an algorithm on the comments text, then sort the > >> parent documents by it - *This would work with FunctionQuery, if I had > >> one > >> c

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-09 Thread DorZion
uot;id": "CommentGuid2", >> "content_type": "comment", >> "text": "CommentText" >> } >> ] >> } >> * >> * This is just an example, the schema and the data aren't real.* >> >>

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-05 Thread Mikhail Khludnev
comments text, then sort the > parent documents by it - *This would work with FunctionQuery, if I had one > comment for each article and didn't use child documents*. > I tried to use the LeafReadContext to get the children, but with no luck. > > Is there any way to reach the chi

Sorting documents by nested / child docs with FunctionQueries

2015-06-05 Thread DorZion
thm on the comments text, then sort the parent documents by it - *This would work with FunctionQuery, if I had one comment for each article and didn't use child documents*. I tried to use the LeafReadContext to get the children, but with no luck. Is there any way to reach the children through