lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl ...@cominvent.com>
Subject Example schema - fieldType phonetic
Date Thu, 24 Feb 2011 10:07:52 GMT
Hi,

The fieldtype "phonetic" is currently defined as

    <fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
      <analyzer>
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.DoubleMetaphoneFilterFactory" inject="false"/>
      </analyzer>
    </fieldtype>

But isn't it more "correct" using PhoneticFilterFactory?
<filter class="solr.PhoneticFilterFactory" encoder="DoubleMetaphone" inject="false"/>

--
Jan Høydahl
Gründer & senior architect
Cominvent AS, Stabekk, Norway
www.cominvent.com
+47 90125809


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message