zoukankan      html  css  js  c++  java
  • solr 7.7.0配置中文分词器的数据类型

     1 <dynamicField name="*_is" type="pints"    indexed="true"  stored="true"/>
     2 <dynamicField name="*_s"  type="string"  indexed="true"  stored="true" />
     3 <dynamicField name="*_ss" type="strings"  indexed="true"  stored="true"/>
     4 <dynamicField name="*_l"  type="plong"   indexed="true"  stored="true"/>
     5 <dynamicField name="*_ls" type="plongs"   indexed="true"  stored="true"/>
     6 <dynamicField name="*_txt" type="text_general" indexed="true" stored="true"/>
     7 <dynamicField name="*_b"  type="boolean" indexed="true" stored="true"/>
     8 <dynamicField name="*_bs" type="booleans" indexed="true" stored="true"/>
     9 <dynamicField name="*_f"  type="pfloat"  indexed="true"  stored="true"/>
    10 <dynamicField name="*_fs" type="pfloats"  indexed="true"  stored="true"/>
    11 <dynamicField name="*_d"  type="pdouble" indexed="true"  stored="true"/>
    12 <dynamicField name="*_ds" type="pdoubles" indexed="true"  stored="true"/>

    之前版本的long需要改为plong,配置文件为managed-schema。

    修改配置文件后,需要重新启动tomcat。

  • 相关阅读:
    合并字符串中的多个空格
    IfcSpecularRoughness
    IfcSpecularExponent
    IfcPresentableText
    IfcFontWeight
    IfcFontVariant
    uwb ifc模型定位測試
    IfcFontStyle
    IfcGeometricModelResource
    qt6安装
  • 原文地址:https://www.cnblogs.com/116970u/p/10404514.html
Copyright © 2011-2022 走看看