Common Types of field classes (fields) in LUCENE/SOLR, and field attribute parsing _lucene

Source: Internet
Author: User
Tags solr



Ø whether participle (tokenized)

is: The field stored content for participle, the purpose of participle is to index.

For example: commodity name, product description, commodity price

No: You do not need to segment the contents of the field store, do not participle, do not represent no index, but the entire content index.

For example: Product ID

Ø whether index (Indexed)

is to index the words that are divided, and the purpose of indexing is to search.

For example: commodity name, product description, commodity price, Product ID

No: No indexing, that is, no search for the field field.

Ø whether storage (Stored)

is to store the content in the Field field in the document field. The purpose of the store is to search for the page to display the value.

For example: commodity name, commodity price, commodity ID, product picture address

No: Do not store the contents of the Field field in the document field. is not stored, the value of the Field field is not available in the search page.

For example: Product description, because the product description in the search page does not need to display, plus the content of the product description is more, so there is no need to store 0


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.