Oracle11gRelease1 (11.1) four types of Oracle indexes in this article

Source: Internet
Author: User
For Oracle Text, you can use CREATEINDEX to create many types of indexes. The following describes each index type and their purpose and supported features. One Or

For Oracle Text, you can use create index to CREATE many types of indexes. The following describes each index type and their purpose and supported features. One Or

Content

For Oracle Text, you can use create index to CREATE many types of indexes. The following describes each index type and their purpose and supported features.

  • CONTEXT Index
  • CTXCAT Index
  • CTXRULE index CTXXPATH Index
  • CONTEXT description
  • When your text is composed of large, continuous text, you can use this index to create a text retrieval application. You can index files of different formats, such as MS Word, HTML, or plain text.
  • You can customize indexes in different ways.
  • After DML is executed on the base table, CTX_DDL.SYNC_INDEX is required.
  • Supported preferences and parameters
  • Besides index set, all create index preferences and parameters are supported.
  • These supported parameters include index partition clause, format, Character Set, and language columns ).
  • Query operator

    CONTAINS

  • The syntax is called the CONTEXT syntax, which supports many operations.
  • The CTXCAT syntax can contain template queries.
  • Note:
  • All text services and query services are supported.
  • Supports the indexing of Partitioned text tables.
  • The filter by and order by clauses of create index are supported. You can also INDEX the structured column values to more effectively process mixed queries.
  • CTXCAT description
  • You can use this index type to achieve better hybrid query performance. Generally, you can create an index for a small text or text fragment. For example, other columns in the base table, such as the entry name, price, and description, can be included in the index to improve the hybrid query performance.
  • This index type is transactional and automatically updated after DML, without the CTX_DDL.SYNC_INDEX.
  • Supported preferences and parameters

    INDEX SET

    LEXER

    STOPLIST

    STORAGE

  • WORDLIST (only the prefix_index attribute supports Japanese data ).
  • Format, Character Set, and language columns are not supported.
  • Table and index partitions are not supported.
  • Query operator

    CATSEARCH

  • The syntax is called CTXCAT. It supports logical operators, phrase queries, and wildcards.
  • The CONTEXT syntax can contain template queries.
  • Topic query is supported.
  • Note:
  • The index is large and the creation time is longer than that of CONTEXT.
  • The size of the CTXCAT index depends on the total text size, the number of indexes in the index set, and the number of index columns. Before adding an index to an index set, consider your queries and resources carefully.
  • CTXCAT indexes do not support tables and index partitions, text services (highlight, Tag, topic, and summary), or query services (explanations, query feedback, and browsing words ).
  • 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.