Re: Taxonomy Support on Solr

2008-12-12 Thread Shalin Shekhar Mangar
On Fri, Dec 12, 2008 at 9:11 PM, Walter Underwood wrote: > > One feature that is very useful is to update the category tag > after the document has been indexed. We ran into that again > and again when implementing taxonomies at Verity. Take a look at SOLR-828. There's no patch there but there h

Re: Taxonomy Support on Solr

2008-12-12 Thread Walter Underwood
me feature in Solr. What do the > developers say? > > -Kumar > > -Original Message- > From: Alexander Ramos Jardim [mailto:alexander.ramos.jar...@gmail.com] > Sent: Friday, December 12, 2008 12:04 AM > To: solr-user@lucene.apache.org > Subject: Re: Taxonomy Su

RE: Taxonomy Support on Solr

2008-12-12 Thread Jana, Kumar Raja
rg Subject: Re: Taxonomy Support on Solr I use this workaround all the time. When I need to put the hierarchy which a product belongs, I simply arranje all the nodes as: "a ^ b ^ c ^ d" 2008/12/11 Otis Gospodnetic > This is what Hoss was hinting at yesterday (or was that on the Lucene

Re: Taxonomy Support on Solr

2008-12-11 Thread Mark Ferguson
I had a similar problem and I solved it by making the directory a multi-valued field in the index and giving each directory a unique id. So for example, a document in directory 2 would contain in the index: "dir_id:A dir_id:B dir_id:2". A search on any of those fields will then return directory 2.

Re: Taxonomy Support on Solr

2008-12-11 Thread Alexander Ramos Jardim
I use this workaround all the time. When I need to put the hierarchy which a product belongs, I simply arranje all the nodes as: "a ^ b ^ c ^ d" 2008/12/11 Otis Gospodnetic > This is what Hoss was hinting at yesterday (or was that on the Lucene > list?). You can do that if you encode the hiera

Re: Taxonomy Support on Solr

2008-12-11 Thread Otis Gospodnetic
This is what Hoss was hinting at yesterday (or was that on the Lucene list?). You can do that if you encode the hierarchy in a field properly., e.g. "/A /B /1" may be one doc's field. "/A /B /2" may be another doc's field. THen you just have to figure out how to query that to get a sub-tree.