You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Taher Galal <ta...@gmail.com> on 2016/02/21 18:07:48 UTC
Merge Documents from Result
Hi,
I have a set of documents some documents have a field parent which has an
id I would like to be able to merge documents that have the same parent
together after performing the search. Is this possible using a custom
collector and if so how can I check the collected documents in the collect
method and get the fields so I can compare them to see if this parent field
value was available of any of the previous results so I can combine both
Best Regards,
Taher Galal