If you are indexing the parent/child as a block, then you know number of children when you are indexing parent and can store that as a field. That would be most efficient.
The best place to calculate that information is probably a custom Update Request Processor. Regards, Alex. ---- Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 30 August 2016 at 09:38, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Hi, > > Would like to check, in the parent/child nested document, is it possible to > return only records with a certain number of child? > For example, I want to return all the parent's records which has more than > 100 child. > Is it possible to be done? > > I'm using Solr 6.1.0 > > Regards, > Edwin