[Nutch] using Luke to view SOLR's index file contents

Source: Internet
Author: User
Tags solr

Previous Boven introduction using SOLR's command Solrindex to index and submit to the SOLR server, how do we look at the index content produced by the Solrindex command? This is going to use the tools that this blog post wants to share, Luke, and with the Luke Tool, we can clearly see the index content produced by the Solrindex command.

1. Download the Luke Tool

Click Lukeall-4.0.0-alpha.jar and go to the download page to download.

2. Start Luke

Start Luke with the command line above the Windows system after downloading:

-jar lukeall-4.0.0-ALPHA.jar

Run the process:

Start interface:

3. View SOLR Index 3.1 Select the location of the SOLR index

By clicking the Browse button, a folder selection box will pop up:

Select the Open button and select the index path:

3.2 Viewing specific content

After selecting all of Solr's paths, in the Path to Index Directory dialog box, the other selections are default, and the OK button is selected to go to the main interface of Luke and show the approximate contents of the SOLR index in the Overview field:

4. Details 4.1 Overview

There are a total of 11 indexed fields:

Each field name is:

There are a total of 811 pages:

There are a total of 80,468 participle item:

4.2 Viewing the contents of each field

Select each field and select the Show top Items button to see the detailed items information on the right with the default word breaker information:

The meanings of each field are as follows:

    • Anchor

    • Boost
      Do not index, no content:

    • Cache
      Also do not index:

    • Content
      Content of the page:

    • Digest
      Also do not index:

    • Host
      The host information extracted from the URL:

    • Id
      It is also extracted from the URL:

    • Segment
      refers to which segment the page exists inside:

    • Title
      Title of the page:

    • Tstamp
      Do not index:

    • Url
      A word breaker can be searched:

4.3 Documents

4.4 Search

Select a word from the title field of Overview to search, select: Figure

In the Search field, enter: "Title: Graph" and select the Search button to get the result:

[Nutch] use Luke to view the contents of SOLR's index file

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.