Re: does solr handle hierarchical facets?

2007-12-18 Thread Chris Hostetter
: This approach works (I do a similar thing using solr), but you have to be : careful as BooleanQuery.TooManyClauses exception can be thrown depending where : you use the wild card. It should be fine in the case you described however. You'll never get a TooManyClauses from a prefix or range query

Re: does solr handle hierarchical facets?

2007-12-17 Thread Brendan Grainger
This approach works (I do a similar thing using solr), but you have to be careful as BooleanQuery.TooManyClauses exception can be thrown depending where you use the wild card. It should be fine in the case you described however. Anyway, there is a pretty interesting discussion about this he

Re: does solr handle hierarchical facets?

2007-12-17 Thread George Everitt
On Dec 13, 2007, at 1:56 AM, Chris Hostetter wrote: ie, if this is your hierarchy... Products/ Products/Computers/ Products/Computers/Laptops Products/Computers/Desktops Products/Cases Products/Cases/Laptops Products/Cases/CellPhones Then this trick won't work (because L

Re: does solr handle hierarchical facets?

2007-12-12 Thread Chris Hostetter
: > such that if you search for category, you get all those documents that have : > been tagged with the category AND any sub categories. If this is possible I : > think I'll investigate using solr in place of some existing code we have : > that deals with indexing and searching of such data. : :

RE: does solr handle hierarchical facets?

2007-12-10 Thread SDIS M. Beauchamp
I handle this trough the interface I've got dynamics fileds ( path_0, path_1 , ... ) to make it easier. Florent -Message d'origine- De : Sean Laval [mailto:[EMAIL PROTECTED] Envoyé : lundi 10 décembre 2007 14:54 À : solr-user@lucene.apache.org Objet : does solr handle hierarchical fa

Re: does solr handle hierarchical facets?

2007-12-10 Thread Erik Hatcher
On Dec 10, 2007, at 8:54 AM, Sean Laval wrote: eg. category/subcategory/subsubcategory? such that if you search for category, you get all those documents that have been tagged with the category AND any sub categories. If this is possible I think I'll investigate using solr in place of som

Re: does solr handle hierarchical facets?

2007-12-10 Thread Brendan Grainger
Hi, I'm not sure if this is a good way to do it or not (so comments are more than welcome!), but the way we have achieved this is using the idea that a category/subcategory/subsubcategory etc create a path that we associate with a document. This is the simple field definition we use: so