The MDEX Engine 6.1.2 uses a new mechanism for processing wildcard search queries that greatly simplifies user configuration. In most cases, the size of the on-disk index is reduced considerably, and at the same time indexing performance is improved compared with previous releases.

The new mechanism replaces the regular- and dictionary-based wildcard search methods utilized in previous releases.

The following changes describe the new method and the differences with the previous releases:

The MDEX Engine ignores MAX_NGRAM_LENGTH, DICTIONARY_MAX_NGRAM_LENGTH, and DICTIONARY_WILDCARD settings in the XML configuration files. The --wildcard_approx Dgraph flag is deprecated and is ignored by the MDEX Engine. The --ngram_min Dgidx flag is deprecated and ignored.

The following settings and flags for wildcard search have been deprecated or their usage has been changed:

Setting or flag that is deprecated in 6.1.2

Description

MAX_NGRAM_LENGTH

This setting is deprecated and ignored by the MDEX Engine, as it is no longer necessary for the wildcard search implementation.

In previous releases, this setting represented the maximum substring length that was being indexed.

It belongs to the RECSEARCH_INDEXES and DIMSEARCH_INDEX elements in the XML configuration files.

DICTIONARY_WILDCARD

This attribute is deprecated and ignored by the MDEX Engine.

In previous releases, this attribute enabled dictionary-based wildcard search, and indicated whether the dictionary-based index had to be created. The dictionary-based index is no longer used by the new wildcard mechanism.

It belongs to the RECSEARCH_INDEXES and DIMSEARCH_INDEX elements in the XML configuration files.

DICTIONARY_MAX_NGRAM_LENGTH

This setting is deprecated and ignored.

In previous releases, this setting represented the maximum substring length that was indexed for the dictionary-based wildcard index.

It belongs to the RECSEARCH_INDEXES and DIMSEARCH_INDEX elements in the XML configuration files.

--wildcard_approx

This Dgraph flag is deprecated and ignored. The Dgraph issues a warning if it is specified.

In previous releases, you could use this flag in some cases to improve performance of wildcard search by allowing approximate wildcard search query matching and not validating substring match results.

The new wildcard method significantly reduces the complexity associated with post-filtering of the result set. This eliminates the need for this flag.

--ngram_min

This Dgidx flag is deprecated and ignored since it no longer applies to wildcard indexing. Dgidx issues a warning if it is specified.


Copyright © Legal Notices