On Thu, 2007-09-06 at 12:59 +0530, Doss wrote: > Dear all, > > We are running an appalication built using SOLR, now we are trying to build > a tagging system using the existing SOLR indexed field called > "tag_keywords", this field has different keywords seperated by comma, please > give suggestions on how can we build tagging system using this field?
http://wiki.apache.org/solr/ConfiguringSolr http://wiki.apache.org/solr/SchemaXml Define a new field named keyword and use the "text_ws" as type. Instead of comma use whitespaces instead. ... <!-- A text field that only splits on whitespace for exact matching of words --> <fieldtype name="text_ws" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> </analyzer> </fieldtype> ... <field name="id" type="text_ws" indexed="true" stored="true"/> HTH salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions