Re: need advice on parent child mulitple category

2015-06-29 Thread Mikhail Khludnev
http://wiki.apache.org/solr/HierarchicalFaceting

On Mon, Jun 29, 2015 at 11:27 AM, Darniz  wrote:

> hello
>
> any advice please
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/need-advice-on-parent-child-mulitple-category-tp4214140p4214602.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>



Re: need advice on parent child mulitple category

2015-06-29 Thread Darniz
hello

any advice please



--
View this message in context: 
http://lucene.472066.n3.nabble.com/need-advice-on-parent-child-mulitple-category-tp4214140p4214602.html
Sent from the Solr - User mailing list archive at Nabble.com.


need advice on parent child mulitple category

2015-06-26 Thread Darniz
hello all

i need some best practice advice on nested categories i have a atom file
which i am going to index in solr. The file has the below categorization as
you can see below.
the first four category comparison test, honda , kia and sedan are parent
level
Then the next two Civic is a child of Honda and Rio is a child of kia
Then the next two 2015 is child of Civic and 2015 is a child of Rio

  
   comparison road test between honda 2015 and kia rio 2015
  
  
  
  
  
  
  
  
  

i was planning to store in solr the above categorization as 

  comparison road test between honda 2015 and kia rio 2015
Comparison Test, Honda, Sedan, Kia
Civic, Rio
2015

so far so good
but i came across the following issue suppose if i have one more feed
 
   2015 Honda Accord Maintenance
  
  
  
  
  
  

and for this my solr doc is 

 2015 Honda Accord Maintenance
Maintenance, Honda, Sedan
Accord
2015


when i display the facets at cat1 level i see
Comparison Test(1)
Honda(2)
Sedan (2)
Kia(1)
Maintenance(1)

Once a user clicks Honda then our query will be cat1:Honda and facets on
cat2 will show
Civic
Rio
Accord


as you can see Rio is not correct the fact which makes it complicated is
many to many category mappings.

any idea how to solve this.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/need-advice-on-parent-child-mulitple-category-tp4214140.html
Sent from the Solr - User mailing list archive at Nabble.com.