Hi
The link to the facet javadocs was not added to the release artifacts by
mistake, however they do exist in this URL:
http://lucene.apache.org/java/3_4_0/api/contrib-facet/index.html.
I've already fixed it, so in the next release it should be ok.
Shai
On Thu, Sep 22, 2011 at 11:10 AM, Em wro
Hi,
I just saw that this is about Lucene, not Solr. So I am sorry for giving
a Solr-advice on a Lucene-topic.
Shai, I just found the Facet-Contribution's API via Google. Where are
references to that API? I can not find them in Lucene's Wiki or at the
Lucene-page.
I'd like to read a little bit mo
Hi Mihai,
thanks for clarifying the question. The facet module supports that quite
easily actually. I've included a sample code with some description:
(1) FacetSearchParams fsp = new FacetSearchParams();
(2) CountFacetRequest facetRequest = new CountFacetRequest(new
CategoryPath("monday"), 10);
(
Hi Mihai,
what about having an extra field per level?
doc1: [day:monday], [hour:11pm], [minute:22], [second:00], [year:2011],
[month:October], [calendar day:11]...
This way you do not need to hack and you can easily extend your format
if you want to add new dimensions in future.
I did not work
2011/9/21 Shai Erera
> What do you mean "up to lvl3"?
>
"as *deep *as lvl3" :P
In this example, let's look at these lvls as a tree(like n-ary tree) with
root in a unique value at(the top) lvl 1
..one with category [l1, l2, l3] and one with [l1, l2],
All documents have the same depth (of categor
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
asso
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 drilldo