lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: Tagging using SOLR
Date Thu, 06 Sep 2007 08:18:45 GMT
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?
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"
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
<field name="id" type="text_ws" indexed="true" stored="true"/>


Thorsten Scherler                       
Open Source Java                      consulting, training and solutions

View raw message