XML Configuration Reference : Index : AlphanumFieldConfig
 
AlphanumFieldConfig
com.exalead.mercury.mami.indexing.v10.AlphanumFieldConfig
This field stores alphanumeric values (i.e., 'text', 'title').
Parent elements:
com.exalead.mercury.mami.indexing.v10.IndexSchema (as IndexSchema)
Attributes:
Name
Type
Default value
Description
ramBased
boolean
A value field must be RAM-based to perform synthesis efficiently.
multiContext
boolean
fieldName
string
The name of the field. The name of a field can only contain lower-case characters, numbers and underscore. [a-z0-9_]+
searchable
boolean
Allows users to query on this field (using a prefix handler).
retrievable
boolean
Allows the content of this field to be retrieved at query time and displayed in the search results.
dataModelState
string
Is this index field config managed by a data model? @enum{null,auto,customized}. If null, this is not related to a data model. If "auto", this is auto-generated by a data model. If "customized", this was auto-generated by a data model and then customized.
dataModelClass
string
If dataModelState is "auto" or customized", you will find here the name of the DataModelClass that generated this field config.
dataModelProperty
string
If dataModelState is "auto" or customized", you will find here the name of the DataModelProperty that generated this field config.
multivalued
boolean
version
int
maxStoredWordPosition
int
Number of words, starting from the beginning of the document, for which word positions will be stored in the index. This enables proximity ranking and position searching (NEAR, NEXT, ...) up to this number of words in the document. '0' should be used to disable position storing.
maxInlineWordPositions
int
2
Advanced setting controlling how many positions are inlined in the main data file for each word of each document.
useVariablePositionsEncoding
boolean
Advanced setting to choose which positions encoding algorithm should be used. Variable position encoding should be used to reduce index size when indexing big documents.
storeTf
boolean
Stores the number of terms of each document. This information may be used by the ranking algorithm to normalize term frequencies (as "nbTerms"). This costs a few bytes of RAM per document.
bloomFilter
boolean
Activates a Bloom filter per slot. This speeds up requests containing words that are not present in the field on a given slot. Disable this option if all words of the request for this field are always matching, and if you compact into big slots regularly. Enable this option if there is either a lot of misses (e.g. on the "text" field) or if you have small updates (e.g. with real-time indexing).
gzip
boolean
True
Activates content compression
implementation
enum(strbtree, trie, fsm)
fsm
Advanced configuration. Internal structure used to store the field dictionary.
nbWordsPerLeaf
int
1000
Advanced configuration. If using the strbtree structure, it configures the number of words per leaf.
optimizePatternSearch
boolean
True
Adds extra informations to the dictionaries for pattern search optimization. If false, optimizes data structures for size.
Nested elements:
Name
Type
Description
fromDataModel
com.exalead.mercury.mami.indexing.v10.FieldConfig
If dataModelState is "customized", you will find here the original object generated by the data model. Use this to easily revert to "auto" state from "customized".
ListsEncoderConfig
com.exalead.mercury.mami.indexing.v10.ListsEncoderConfig
Configuration of the inverted lists encoder. If no configuration is specified, a Rice encoder is used.