On Fri, 2007-10-19 at 11:01 +0100, Spas Poptchev wrote: > Hi, > > what i want to do is to store tags that belong to products. Each tag should > also store information about how often it was used with a certain product. > So for example: > > product1 > cool 5 => product1 was tagged 5 times with cool > > What would be the best way to implement this kind of stuff in solr?
There is a wiki page on some brainstorming on how to implement tagging within Solr: <http://wiki.apache.org/solr/UserTagDesign> It's easy enough to have a tag_keywords field, but updating a single tag_keywords field is not so straightforward without sending the entire document to Solr every time it is tagged. See SOLR-139's extensive comments and patches to see what you're getting into. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions