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