In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
What does Apache Solr mean? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
Apache Solr is an open source search server. Solr is developed in Java language and is mainly based on HTTP and Apache Lucene. Resources stored in Apache Solr are stored with Document as the object.
Each document consists of a series of Field, and each Field represents an attribute of the resource. Each Document in Solr needs to have an attribute that uniquely identifies itself. By default, the name of this attribute is id, which is described in the Schema configuration file using: id.
Solr is a high-performance full-text search server developed with Java5 and based on Lucene. Solr is an independent enterprise search application server. At present, many enterprises use solr open source services. The principle is roughly that documents are added to a search set through Http using XML. Querying the collection is also done by receiving a XML/JSON response from http.
Its main features include: efficient and flexible caching function, vertical search function, highlight search results, improve availability through index replication, provide a powerful Data Schema to define fields, types and set text analysis, provide Web-based management interface, etc.
Directory structure of Solr packages
Build: the directory where the compiled files are placed during the solr build.
Client: contains some API client programs that call Solr in specific languages. Currently, only Ruby is available, and Java clients called SolrJ can be found in src/solrj.
Dist: stores Solr built JAR files, WAR files, and Solr dependent JAR files.
Example: is an installed Jetty middleware that includes some sample data and configuration information for Solr.
Example/etc: the configuration file for Jetty.
Example/multicore: when installing Slor multicore, it is used to place multiple Solr home directories.
Example/solr: the home directory of a Solr when installed by default. Example/webapps: the WAR file for Solr is deployed here.
Src: Solr related source code.
Src/java: Java source code for Slor.
Src/scripts: some useful Unix bash shell scripts for large product releases.
Src/solrj: the Java client for Solr. S
Rc/test: test source code and test files for Solr.
Src/webapp: Solr web management interface. The Jsp files of the management interface are placed under web/admin/, and you can modify these files according to your needs.
The source code of Solr is not placed in the same directory, src/java stores most files, src/common is the common code between the server and the client, src/test places the test program of solr, and the code of serlvet is placed in src/webapp/src.
Thank you for reading! After reading the above, do you have a general understanding of what Apache Solr refers to? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.
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
© 2024 shulou.com SLNews company. All rights reserved.