Shawn Heisey-4:

thanks for the quick response.

Why this field have to be copyField? Couldn't it be a single field, for
example:
<fieldType name="text_general_long" class="solr.TextField"
positionIncrementGap="100">
      <analyzer type="index">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>
    </fieldType>

<field name="my_name" type="text_general_long" stored="true"
multiValued="false" required="false"/>



thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/matching-starts-with-only-tp4094430p4094447.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to