Package com.yahoo.vespa.configdefinition
Class SpecialtokensConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.vespa.configdefinition.SpecialtokensConfig
public final class SpecialtokensConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of specialtokens
Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
Named lists of special tokens - string which should be
treated as words no matter what characters they consist of.
A special token can also optionally be replaced by another
token.
Special tokens are case sensitive, since queries and tokens
are lowercased they should normally be written in lower case.
The list named default is the only list which is used currently
Order matters in token lists. If one special token is a
prefix of another token, Vespa will prefer to return the first
matching token in the list when encountering the longest
special token.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interfacestatic final classThis class represents specialtokens.tokenlist[] -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serializeMethods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toStringMethods inherited from class com.yahoo.config.Node
clone
-
Field Details
-
CONFIG_DEF_MD5
- See Also:
-
CONFIG_DEF_NAME
- See Also:
-
CONFIG_DEF_NAMESPACE
- See Also:
-
CONFIG_DEF_SCHEMA
-
-
Constructor Details
-
SpecialtokensConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
makefsaPath
- Returns:
- specialtokens.makefsaPath
-
tokenlist
- Returns:
- specialtokens.tokenlist[]
-
tokenlist
- Parameters:
i- the index of the value to return- Returns:
- specialtokens.tokenlist[]
-