General principles of Document Indexing

Source: Internet
Author: User

 

--Lvpei.cnblogs.com

Full-text retrieval is widely used by search engines, and the large-scale documents processed by them are non-structured or semi-structured information. Document indexing is the basis for full-text retrieval and quick query of information.

I. Index Overview

An index is an organizational structure of data storage. The indexer is used to create, maintain, and manage information indexes.

Inverted index is an efficient index organization method. It uses words or words as index items. It can support multiple search models and provide high-performance search. The search engine index uses the index model of traditional information retrieval. The index structure is usually organized into a linked list arranged by index items. During retrieval, you can use the search term to match the index item and locate it directly in the list where the search result is located.

 

Ii. Enable and disable the environment of the Indexer

The indexer extracts index items from the original document to represent the document and generates an index table for the document set. The indexing environment involves text preprocessing and database retrieval. It mainly includes the original text Library (webpage or document) and text Parser (analysis webpage and document content, unified as a non-format document or intermediate format document ), text intermediate format Library (remove noise junk information, pure text after word segmentation or unified intermediate format), indexer (process the result information processed by the parser, use the preset index item dictionary to create a linked list arranged by index items, and dynamically change the index dictionary), index Dictionary (Word and encoding Binary Group structure database ), text Index Library (organizes data files stored in the form of indexes ).

 

Iii. inverted index Principle

The core mechanism of indexing technology is the inverted index structure. Large-scale data is generally stored in the form of files. The inverted index uses the index keyword to directly identify the document list and finally determine the document to be found.

 

Iv. Index classification

Index classification generally involves two aspects: the types of index items processed by indexes (word index, word index, phrase index, and hybrid index) and index creation Update Form (static and dynamic ).

 

V. High-Performance Indexing

1-how to increase the speed of indexing.

2-how to reduce the resource usage of indexes.

3-how to reasonably allocate limited memory resources during index usage.

4-how to speed up resource access.

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.