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
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
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
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.
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
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.