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
t; 20
> parent
> Nike
>
> 21
> Red
> M
>
>
> 22
> Blue
> XL
> XXL
>
>
>
> 30
> parent
> Puma
>
> 31
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>
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.
> >> *
> >> * 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
uot;id": "CommentGuid2",
>> "content_type": "comment",
>> "text": "CommentText"
>> }
>> ]
>> }
>> *
>> * This is just an example, the schema and the data aren't real.*
>>
>>
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
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