I think this has nothing to do with LTR in particular. have you tried executing the function query on its own ?
I think it doesn't exist at all, right ? [1] So maybe the first approach to that would be to add this nested children function query capability to Solr. I think there is a document Transformer in place to return all the children of parents document queries but unfortunately I don't think there is function query at the moment able to do the calculations you want. Then it may be included in LTR ( which may not need any change at all) [1] https://lucene.apache.org/solr/guide/6_6/function-queries.html#FunctionQueries-AvailableFunctions ----- --------------- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html