Package | Description |
---|---|
com.yahoo.search |
The top level classes of the search container. A Query represents the incoming request, which produces a Result
by chained execution of a set of Searchers.
|
com.yahoo.search.query |
The search query model
|
com.yahoo.search.query.profile |
Query Profiles provide nested sets of named (and optionally typed) key-values which can be referenced in a Query
to proviode initial values of Query properties.
|
com.yahoo.search.query.profile.compiled |
Query Profiles provide nested sets of named (and optionally typed) key-values which can be referenced in a Query
to proviode initial values of Query properties.
|
com.yahoo.search.query.profile.types |
Query profile types defines the set of fields a query profile may, can or must have.
|
com.yahoo.search.query.properties | |
com.yahoo.search.query.ranking |
Modifier and Type | Method and Description |
---|---|
static QueryProfileType |
Query.getArgumentType() |
Modifier and Type | Method and Description |
---|---|
static QueryProfileType |
Ranking.getArgumentType() |
static QueryProfileType |
Presentation.getArgumentType() |
static QueryProfileType |
Select.getArgumentType() |
static QueryProfileType |
Model.getArgumentType() |
Modifier and Type | Method and Description |
---|---|
QueryProfileType |
QueryProfile.getType()
Returns the type of this or null if it has no type
|
QueryProfileType |
QueryProfileRegistry.getType(String type)
Returns a query profile type by name, or null if not found
|
Modifier and Type | Method and Description |
---|---|
Map<com.yahoo.processing.request.CompoundName,QueryProfileType> |
QueryProfile.listTypes(com.yahoo.processing.request.CompoundName prefix,
Map<String,String> context)
Lists types reachable from this, indexed by the prefix having that type.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryProfileVariant.accept(boolean allowContent,
QueryProfileType type,
com.yahoo.search.query.profile.QueryProfileVisitor visitor,
DimensionBinding dimensionBinding)
Accepts a visitor to the values of this
|
Object |
QueryProfileVariants.get(String name,
QueryProfileType type,
boolean allowQueryProfileResult,
DimensionBinding dimensionBinding)
Returns the most specific matching value of a name for a given set of canonical dimension values.
|
protected QueryProfile |
QueryProfile.setLocalNode(String localName,
Object value,
QueryProfileType parentType,
DimensionBinding dimensionBinding,
QueryProfileRegistry registry)
Sets the value of a node in this profile - the local name given must not be nested (contain dots)
|
void |
QueryProfile.setType(QueryProfileType type)
Sets the type of this, or set to null to not use any type checking in this profile
|
Modifier and Type | Method and Description |
---|---|
QueryProfileType |
CompiledQueryProfile.getType()
Returns the type of this or null if it has no type
|
QueryProfileType |
CompiledQueryProfile.getType(com.yahoo.processing.request.CompoundName name,
Map<String,String> context)
Returns the type of a given prefix reachable from this profile, or null if none
|
Modifier and Type | Method and Description |
---|---|
DimensionalMap<com.yahoo.processing.request.CompoundName,QueryProfileType> |
CompiledQueryProfile.getTypes()
Returns the types reachable from this, or an empty map (never null) if none
|
Constructor and Description |
---|
CompiledQueryProfile(com.yahoo.component.ComponentId id,
QueryProfileType type,
DimensionalMap<com.yahoo.processing.request.CompoundName,Object> entries,
DimensionalMap<com.yahoo.processing.request.CompoundName,QueryProfileType> types,
DimensionalMap<com.yahoo.processing.request.CompoundName,Object> references,
DimensionalMap<com.yahoo.processing.request.CompoundName,Object> unoverridables,
CompiledQueryProfileRegistry registry)
Creates a new query profile from an id.
|
Constructor and Description |
---|
CompiledQueryProfile(com.yahoo.component.ComponentId id,
QueryProfileType type,
DimensionalMap<com.yahoo.processing.request.CompoundName,Object> entries,
DimensionalMap<com.yahoo.processing.request.CompoundName,QueryProfileType> types,
DimensionalMap<com.yahoo.processing.request.CompoundName,Object> references,
DimensionalMap<com.yahoo.processing.request.CompoundName,Object> unoverridables,
CompiledQueryProfileRegistry registry)
Creates a new query profile from an id.
|
Modifier and Type | Method and Description |
---|---|
QueryProfileType |
QueryProfileFieldType.getQueryProfileType()
Returns the query profile type of this, or null if any type works
|
QueryProfileType |
QueryProfileType.getType(String localName)
Returns the type of the given query profile type declared as a field in this
|
QueryProfileType |
QueryProfileType.unfrozen()
Return this is it is not frozen, returns a modifiable deeply unfrozen copy otherwise
|
Modifier and Type | Method and Description |
---|---|
List<QueryProfileType> |
QueryProfileType.inherited()
Returns the query profile types inherited from this (never null).
|
Modifier and Type | Method and Description |
---|---|
void |
QueryProfileTypeRegistry.register(QueryProfileType type)
Register this type by its id
|
Constructor and Description |
---|
QueryProfileFieldType(QueryProfileType type) |
Modifier and Type | Field and Description |
---|---|
static QueryProfileType |
DefaultProperties.argumentType |
Modifier and Type | Method and Description |
---|---|
static QueryProfileType |
Diversity.getArgumentType() |
static QueryProfileType |
MatchPhase.getArgumentType() |
static QueryProfileType |
Matching.getArgumentType() |
static QueryProfileType |
SoftTimeout.getArgumentType() |
Copyright © 2018. All rights reserved.