lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Return parent's records which has more than certain number of childs
Date Tue, 30 Aug 2016 02:45:25 GMT
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 <edwinyeozl@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

Mime
View raw message