In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The schema file stores field and field type information in detail. Different initialization configurations, or subsequent configuration changes, will result in different shema files used.
Managed-schema.xml file, which is the default schema profile. Can only be modified through schema api.
Schema.xml file, which can only be modified manually
The content of the two files is the same, but the way to modify the file is different. If you use the schema.xml file in solrcloud, you can only back up the schema.xm file locally and upload it to zookeeper through the zookeeper command (cloud environment, the schema configuration file is on zookeeper).
Four attributes of FIELD TYPE
Name (required)
Class that implements the property (required)
If the implementation class is the description of the TextField,field analysis
Feild type other properties. It varies according to different implementation classes (some implementation classes are required)
Example (snippet of schema.xml file):
one
two
① contains the name and implementation class of field type
The rest of ② is about field analysis, including indexes and how they are analyzed when querying.
When indexing, specify lexical analysis class, stop word, whether to ignore case, etc.
When querying, you should also specify the lexical analysis class, synonym text library, whether to ignore case, etc. (see the above example for details).
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
[oracle@oracle01 ~] $[oracle@oracle01 ~] $rman target / Recovery Manager: Release 11.2.0.4.0-Product
© 2024 shulou.com SLNews company. All rights reserved.