[Nutch] Installation and configuration of Apache SOLR

Source: Internet
Author: User
Tags apache solr solr

1. Get Apache SOLR

Use the following command:

http://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2.tgz
2. Unzip

Use the following command:

-zxvf apache-solr-3.6.2.tgz
3. Contents of SOLR

View the contents of the directory below:

What's important is the example directory, and we'll look at what the files are:

You can see the SOLR catalog from the inside.

4. SOLR's configuration

(1) Copy the Nutch conf directory below the Schema.xml file to the solr/conf directory.
Under the example directory, execute the following command to replicate:

cp ../../nutch/conf/schema.xml solr/conf/

Take a look at the following files in the SOLR conf directory:

(2) Modify Solrconfig.xml
Because the default search defined in Schema.xml is content:

The default search defined in Solrconfig.xml is text:

So you need to replace the text inside the solr/conf/solrconfig.xml with the content.

5. Start the SOLR server

Use the following command:

start.jar &

Execution process:

6. Visit SOLR

After the configuration is complete, you can access SOLR through a browser, which is accessed by entering the following URL:

http://192.168.238.128:8983/solr/

The page is as follows:

7. SOLR's Administration page

Click "SOLR Admin" on the above page to enter, the interface is as follows:

[Nutch] Installation and configuration of Apache SOLR

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.