Lucene -- Field. Store (storage domain options) and Field. Index (Index options), external efield. store

Source: Internet
Author: User

Lucene -- Field. Store (storage domain options) and Field. Index (Index options), external efield. store
Field. Store. YES or NO (storage domain option)

Set "YES" to indicate that the content in this field is completely stored in the file for text restoration.

If NO is set, the content of this domain is not stored in the file, but can be indexed. At this time, the content cannot be completely restored (doc. get)

Field. Index (Index options)

Index. ANALYZED: used for Word Segmentation and indexing. It is suitable for titles and content.

Index. NOT_ANALYZED: performs an Index but does not perform word segmentation. If the ID card number, name, and ID are used for exact search

Index. ANALYZED_NOT_NORMS: Performs word segmentation but does not store norms information. This norms includes the Index creation time and weight information.

Index. NOT_ANALYZED_NOT_NORMS: No Word Segmentation or norms information is stored.

Index. NO: NO Index

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.