solr LowerCaseFilterFactory not working

会有一股神秘感。 提交于 2019-12-11 15:57:20

问题


For case-insensitive sort in solr, I have added the following in the config:

<fieldType class="org.apache.solr.schema.TextField" name="TextField" sortMissingLast="true" omitNorms="true">
  <analyzer>
    <tokenizer class="solr.KeywordTokenizerFactory"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer>
</fieldType>

and the field as follows:

<field indexed="true" multiValued="false" name="nm" stored="true" type="TextField" docValues ="true"/>

I have tried: solr case insensitive sort not working, but it is still not working.

I am new to solr, can anyone please tell me whats going wrong here.

来源:https://stackoverflow.com/questions/47284609/solr-lowercasefilterfactory-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!