Understanding of 43.mapping

Source: Internet
Author: User

Key points of knowledge:

Mapping the Understanding

( 1 ) toward es Insert data directly inside the es indexes are automatically built, and type and the corresponding Mapping

( 2 ) Mapping automatically defines each of the Field the data type.

( 3 " different data types (such as text and date exact value There are some full text

( 4 ) for Exact value , the whole value is built into the inverted index as a keyword when the participle is created and the inverted index is established; Full text , will pass through participle, normaliztion and so on, before the entries that have been processed are built into the inverted index.

(5)Exact valueand theFull texttwo different types ofFieldIt was decided that, in a single search, theExact valueof theFieldor aFull textof theFieldThe behavior of the search is also different, consistent with the behavior of creating inverted indexes;Exact valuewhen searching, it is to match the whole value directly, forFull textis to first use the same word breakerquery stringafter processing the word breaker, go to the inverted index to search.

( 6 ) can be used es Bring your own Dynamic Mapping , let it automatically establish Mapping , including setting the data type automatically, or you can manually create it in advance Index and the type of the Mapping , their own on the various Field settings, including data types, including index behavior, including word breakers, etc.

Comprehensive: Mapping , is Index of the type the metadata for each type have one of their own Mapping , determines the type of data, the behavior of creating inverted indexes, and the behavior of searching.

Understanding of 43.mapping

Related Article

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.