I think, you need to execute DrilDownQuery to get the docIds.

On Mon, Jul 7, 2014 at 4:40 PM, Sandeep Khanzode <
sandeep_khanz...@yahoo.com.invalid> wrote:

> Hi,
>
> For Lucene 4.7.2 Facets, once we invoke FacetCollector and get the
> topNChildren into FacetResult, is there any mechanism that for a particular
> search result, I could get the docIds corresponding to any facet?
>
> Say, I have a facet defined on Field1. Upon Search and FacetCollection, I
> get FVal1, FVal2, and FVal3 as top3Children along with their corresponding
> counts. Can I look into (a) Field1 and get all docIDs, or (b) FVal1 or
> FVal2 or FVal3 and get their corresponding docIds?
>
> -----------------------
> Thanks n Regards,
> Sandeep Ramesh Khanzode

Reply via email to