Re: Limiting number of facet results for path based facets

2013-05-10 Thread Brendan Grainger
Actually it occurred to me that doing something like this might work: if I have a category of root/books/scifi for a document I'd create the following values for the facet: 0/root 1/root 1/root/books 2/root 2/root/books 2/root/books/scifi Then to get level 1 I'd do: http://localhost

Limiting number of facet results for path based facets

2013-05-10 Thread Brendan Grainger
Hi, I'm using the PathHierarchyTokenizer like this: to create path based facets. A query like: http://localhost:8982/solr/articles/select?facet=true&start=0&q=*:*&facet.field=my_path_based_facet&wt=ruby&indent=on gives facets that look like