Hi there -
Our facet counts are incorrect for a particular field and I suspect it is
because we changed the type of the field from StrField to TextField. Two
questions:

1. If we do re-index all the documents in the index, would these counts get
fixed?
2. Is there a "safe" way of changing field types that generally works?

*Old type:*
  <fieldType name="strings" class="solr.StrField" sortMissingLast="true"
docValues="true" multiValued="true"/>

*New type:*
  <fieldType name="lowercase_notokenize" class="solr.TextField"
omitNorms="true" omitTermFreqAndPositions="true" indexed="true"
stored="true" positionIncrementGap="100" sortMissingLast="true"
multiValued="true">
<analyzer>
      <tokenizer class="solr.KeywordTokenizerFactory"/>
      <filter class="solr.LowerCaseFilterFactory"/>
    </analyzer>
  </fieldType>

Reply via email to