Luke 5--Visual Lucene Index viewing tool, you can view the index of ES

Source: Internet
Author: User

Luke 5 release, Visual Lucene Index viewing tool Oschinaposted on August 31, 2015

This is a major release that supports Lucene 5.2.0.

It supports Elasticsearch 1.6.0 (Lucene's 4.10.4)

Resolved issues:
#20 adds support for rebuilding the index and does not store field values without exposing the location.

Pull requests:
#23 Elasticsearch Support and shadow plugin assembly
#26 Add. gitignore file
#27 supports Lucene 5
#28 luke.sh added Luke_path env variable

Luke is a tool for querying Lucene index files, and can be queried with Luke's search

Using Luke to manage Lucene index files

Publish time: 2015-03-13 13:07:12 Edit: Wang browse (2259)

Resources

Luke use and download: http://www.getopt.org/luke/

Luck Introduction

Do Lucene development, inevitably and index files to deal with, but some binary files how we go to see, the following will be a grand Welcome to Luke

According to the Baidu Encyclopedia, Luke is a third-party tool for developing and diagnosing Lucene search engines that can access existing Lucene indexes and allow you to display and modify them.

We can use Luke to perform general index viewing and modification operations.

Lucene's index file is like a data file stored in a database, and Luke is a DBMS system.

Java JDK Tool Preparation

Luke's operation is dependent on the Java JDK. So the Java JDK should be downloaded and installed first.

Yes: Http://pan.baidu.com/s/1o6NvJBW

About Luke

First download Luke, yes: Http://pan.baidu.com/s/1o6NvJBW. Double-click Run.

Then the file button on the top menu bar can open the index directory, if the current index has been opened (there are write.lock files), we can use the forced unlock method to open the directory, or the use of ReadOnly method to open the index directory, Once opened, you can look at the data stored in the index like a DBMS, and if the index changes, you can click the Re-open button on the overview interface to reopen it.

A total of 5 interfaces:

Overview is used for general viewing and operation of indexes, such as index directory people, index file version ... ETC summary information, the top right corner of the three buttons can reopen the index, submit index changes and close the currently open index, the following two list is the display of words and fields related information.

The documents interface is used for document manipulation and viewing, such as the deletion and addition of files. The following large ListView can be used to view the details of the document, and is it very similar to the DBMS's view table data? There are two ways to find a document, based on the document number to find and according to the word to find, in fact, this is the search

The search interface is what I think is the most useful interface, where we can index the search test, you can write the most Lucene search statements, and then we can see the query tree after the statement parsing, so you can know why some of our queries will not be able to query the information we want, You can then choose the word breaker for the search, the default fields, and the number of repeated searches (which can be useful for the performance test of a query by searching multiple times to get the average length of a search process). The following ListView will then list the values of all saved (store) fields for a searched document, and you can see how long the query takes

File interface, so the name of meaning, this is used to look at each index related files of some properties of the interface, in particular, you can use this interface to analyze the index of the number of files, whether the need to optimize or merge and so on ....

The last plugins interface, you can see the various plug-ins provided by Luke, I think the more useful is the word breaker tool, provide a word breaker class, and then the text box below to enter a text, and then you can let this tool help you participle, you can see the detailed word segmentation information, I believe this is useful for debugging or testing a custom word breaker. Then there is a Hadoop plug-in that supports getting information about the files in the node from the Hadoop node.

Luke 5--Visual Lucene Index viewing tool, you can view the index of ES

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.