lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Knaup <t...@knaup.me>
Subject Re: Facet counts and drill down queries
Date Fri, 02 Dec 2011 18:42:49 GMT
Hi Shai,

Thanks for your response. Here is some example code that illustrates the
problem:
https://gist.github.com/1424333

Thanks

Tobi

On Fri, Dec 2, 2011 at 8:31 AM, Shai Erera <serera@gmail.com> wrote:

> Hi Tobi,
>
> What is the facet request that you define for the drill down query? I.e.,
> if your initial query was 'foo' and you asked to count facet ABC. Then the
> user clicks one of he categories of facet ABC (that's your drill down
> query) -- what is the facet the you ask to count for the drill down query?
>
> If I misunderstood your question, do you have a small test case that shows
> the problem, or can write some mock up code, that explains it?
>
> Shai
>
> On Friday, December 2, 2011, Tobias Knaup <tobi@knaup.me> wrote:
> > Hi all,
> >
> > I have a question about facet counts and drill down queries.
> > When I run a drill down query, I only get counts for the category in the
> > query, but I need the counts for all categories.
> > Is there a way to do this without running two separate searches?
> > I'm using a MultiCollector to wrap a TopDocsCollector and
> FacetsCollector.
> >
> > Thanks for your help!
> >
> > Tobi
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message