lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <ser...@gmail.com>
Subject Re: FacetedSearch DrillDown
Date Wed, 21 Sep 2011 18:24:24 GMT
Can you please clarify the question? What do you mean "up to lvl3"?

Let me try with an example: if you index two documents, one with category
[l1, l2, l3] and one with [l1, l2], and you ask to count "l1", you will get
2. If you ask to count [l1, l2, l3] you will get 1, as only one document is
associated with that node. If you index a third document with category [l1,
l2, l3, l4] and ask to count [l1, l2, l3], you will get 2. Does that answer
your question?

Perhaps I didn't understand your question, so if you have a concrete example
of few docs, query and expected results, I'll be able to provide a better
answer.

Shai

On Wed, Sep 21, 2011 at 7:02 PM, Mihai Caraman <caraman.mihai@gmail.com>wrote:

> Hello gurus,
> Cutting to the chase, I index this: CategoryPath(lvl1,lvl2,lvl3)
>
> I want to group things as deep as lvl3.
> Which should be more eficient:
> *search for categoryPath(lvl1) to get lvl2 results:
> search lvl2 number of times for categoryPath(lvl1,lvl2) to get lvl3
> results*
> ?
> or
> *search drilldown categorPath(lvl1)* // i can't test this because it
> doesn't
> give me the results i expect in the SimpleSearch example( maybe i didn't
> understand them and they can't even be compared to what i need)
>
> Thank you,
> Mihai
>

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