Solr. NET course two solr5.5 core configuration

Source: Internet
Author: User
Tags solr

Before you talk about configuring your core, you need to have an understanding of the core, which in the SOLR official document says that the core term is used to refer to a separate index, Associated transaction logs along with some configuration files (including Schema.xml and solrconfig.xml, etc.), if you need to, you can create multiple cores when you install SOLR, Multi-core mode allows you to use different structures on the same server to index your data and provide more control over how the index data is presented to different users.

First step: Create a new Collection1 folder under the D:\solr5.5 directory.

Step Two: Copy the Conf folder under Solr-5.5.0\server\solr\configsets\basic_configs to the D:\solr5.5\collection1 directory

Step three: Enter the http://localhost:8080/solr5.5/admin.html address in the browser click Add Core in the Core admin bar on the left Such as: we will name and Instancedir are called Collection1 Click Add Core is new complete

      

Name:core the display name is required.

The physical folder location pointed to by Instancedir:core, which is the newly created Collection1 folder

DataDir: Specifies the directory path that is used to hold the Lucene index and log file, which is relative to the core root directory, and the default value is the data in the current core directory

Config: Used to specify the file name of the Solrconfig.xml configuration file, the default value is Solrconfig.xml

Schema: Used to specify the file name of the Schema.xml configuration file, the default value is Schema.xml

To the end of this core configuration.

      

Solr. NET course two solr5.5 core configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.