Re: How to count children's documents

2014-06-28 Thread Mikhail Khludnev
Hello, what about searching children with some constant score query, enabling sum score mode, and cutting off scores by range? Just an idea, didn't do that before. On Sat, Jun 28, 2014 at 7:01 PM, Alexandre Rafalovitch wrote: > Hello, > > I want to find a parent document that has more than X c

How to count children's documents

2014-06-28 Thread Alexandre Rafalovitch
Hello, I want to find a parent document that has more than X children documents. Is there a way to do so on a Solr side? I don't mind whether it is precomputed in URP or some sort of value math. I am just having troubles figuring out the correct way to do it. Regards, Alex. Personal website: