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.