In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.