Hello!
I am attempting to create field type to keep a lower case version of another
field but this creates an error:
Exception writing document id 0de211c2-543c-4a96-aaaf-86670f09382f to the
index; possible analysis error: cannot change field "Specialties_s_lower" from
index options=DOCS to inconsistent index options=DOCS_AND_FREQS_AND_POSITIONS
Any help wtih this is appreciated!
<field name="Specialties" type="string" indexed="true" stored="true"
required="false" multiValued="true" />
<field name="Specialties_s_lower" type="lowercase" indexed="true"
stored="true" required="false" multiValued="true" />
<copyField source="Specialties_ss" dest="Specialties"/>
<copyField source="Specialties_ss" dest="Specialties_s_lower"/>
<fieldType name="string" class="solr.StrField" sortMissingLast="true"
docValues="true" />
<dynamicField name="*_s_lower" type="lowercase" indexed="true"
stored="true"/>
<fieldType name="lowercase" class="solr.TextField"
positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldType>
[cid:54980098-f2fb-49bc-96f8-d307187504f8]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• [email protected]<mailto:[email protected]>
----------------------------------------------------------------------
"This message is intended for the use of the person or entity to which it is
addressed and may contain information that is confidential or privileged, the
disclosure of which is governed by applicable law. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this information is strictly
prohibited. If you have received this message by error, please notify us
immediately and destroy the related message."