Class QueryProfilesConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.search.query.profile.config.QueryProfilesConfig
public final class QueryProfilesConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of query-profiles
Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
Query profiles and their types - a query profile is a nested composite of query parameters with an id
A set of query parameters can be fetched from a query profile rather than being
submitted explicitly.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static final class
This class represents query-profiles.queryprofile[]static final class
This class represents query-profiles.queryprofiletype[] -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static String
static String
static String
queryprofile
(int i) queryprofiletype
(int i) Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serialize
Methods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toString
Methods 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
-
QueryProfilesConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
queryprofile
- Returns:
- query-profiles.queryprofile[]
-
queryprofile
- Parameters:
i
- the index of the value to return- Returns:
- query-profiles.queryprofile[]
-
queryprofiletype
- Returns:
- query-profiles.queryprofiletype[]
-
queryprofiletype
- Parameters:
i
- the index of the value to return- Returns:
- query-profiles.queryprofiletype[]
-
enableGroupingSessionCache
public boolean enableGroupingSessionCache()- Returns:
- query-profiles.enableGroupingSessionCache
-