Re: HierarchicalFaceting for Ecommerce Categories

2013-11-10 Thread Upayavira
On Sat, Nov 9, 2013, at 06:18 PM, Nea wrote: > Thanks for ur reply. I got it. > > My old implementation on solr 3.1 was multivalued string field with > 1_catL1, 2_catL2, and doing it with prefix and tagging. > I thought at 4.5.1, can be a nice way doing it :( The PathHierarchyTokenizerFactory c

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Nea
Thanks for ur reply. I got it. My old implementation on solr 3.1 was multivalued string field with 1_catL1, 2_catL2, and doing it with prefix and tagging. I thought at 4.5.1, can be a nice way doing it :( On Nov 9, 2013, at 20:10, Upayavira wrote: > You want to use descendent_path. If you hav

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Upayavira
You want to use descendent_path. If you have a delimiter of /, then: books/it/programming/java would become: books books/IT books/IT/programming books/IT/programming/java Meaning you can facet on this field. If you wish to get a specific level only, then you need to either do your o

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Nea
HierarchicalFaceting documentation does not clearly explain how to index and query field types "descendent_path and ancestor_path” included in schema.xml. Any help would be greatly appreciated.

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Upayavira
http://wiki.apache.org/solr/HierarchicalFaceting Upayavira On Sat, Nov 9, 2013, at 12:09 PM, Nea wrote: > Hi Everybody, > > I’m using Solr 4.5.1 and I need to achieve a HierarchicalFaceting for > leveled categories. Someone can explain me how schema.xml and query > should be? > > > My category

HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Nea
Hi Everybody, I’m using Solr 4.5.1 and I need to achieve a HierarchicalFaceting for leveled categories. Someone can explain me how schema.xml and query should be? My category path is; Cameras > Camcorders[ 5 items] Cameras > Digital Cameras