Re: category tree navigation with the help of solr

2011-09-05 Thread Chris Hostetter
: There are following points about catgory and products to be considered, : 1.One product can belong to more than one categories. : 2.category is a hierarchical facet. : 3.More than one categories can share same name. if multiple categories have the same name (presumably because the hierachy is

Re: category tree navigation with the help of solr

2011-09-05 Thread Lance Norskog
First rule is: denormalize when possible. Just store a separate document with each combination of attributes: if the Reebok HF comes in red and blue, store two documents: Reebok HF,red Reebok HF,blue Then, use grouping and facets to decide what to show. "Category is heierarchical": Pivot facets,

Re: category tree navigation with the help of solr

2011-09-05 Thread Ranveer
Hi Priti, You can do this by adding an extra field (string type) for facet on which you need to send query. 1.One product can belong to more than one categories. You can put internal flag for that category at index time, and at the time of query you can send that flag to query. More of less

Re: category tree navigation with the help of solr

2011-09-05 Thread Tony Qiu
Dear Gupta, In my case, I am doing something similar to you. I use tow core, one core I build category's tree, another core I use to build the product's information include the leaf cat of products. So when one search I get, I will facet the leaf cat, then get the category tree in the category cor

category tree navigation with the help of solr

2011-09-04 Thread Priti Gupta
Hi, We are using solr in our ecommerce application.we are indexing on different attributes of products. We want to create category tree with the help of solr. There are following points about catgory and products to be considered, 1.One product can belong to more than one categories. 2.category