FeatureView_VectorSearchConfig class final
Deprecated. Use
IndexConfig
instead.
- Inheritance
-
- Object
- ProtoMessage
- FeatureView_VectorSearchConfig
Constructors
-
FeatureView_VectorSearchConfig({FeatureView_VectorSearchConfig_TreeAhconfig? treeAhConfig, FeatureView_VectorSearchConfig_BruteForceConfig? bruteForceConfig, String embeddingColumn = '', List<
String> filterColumns = const [], String crowdingColumn = '', int? embeddingDimension, FeatureView_VectorSearchConfig_DistanceMeasureType distanceMeasureType = FeatureView_VectorSearchConfig_DistanceMeasureType.$default}) -
FeatureView_VectorSearchConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bruteForceConfig → FeatureView_VectorSearchConfig_BruteForceConfig?
-
Optional. Configuration options for using brute force search, which
simply implements the standard linear search in the database for each
query. It is primarily meant for benchmarking and to generate the
ground truth for approximate search.
final
- crowdingColumn → String
-
Optional. Column of crowding. This column contains crowding attribute
which is a constraint on a neighbor list produced by
FeatureOnlineStoreService.SearchNearestEntitiesto diversify search results. IfNearestNeighborQuery.per_crowding_attribute_neighbor_countis set to K inSearchNearestEntitiesRequest, it's guaranteed that no more than K entities of the same crowding attribute are returned in the response.final - distanceMeasureType → FeatureView_VectorSearchConfig_DistanceMeasureType
-
Optional. The distance measure used in nearest neighbor search.
final
- embeddingColumn → String
-
Optional. Column of embedding. This column contains the source data to
create index for vector search. embedding_column must be set when using
vector search.
final
- embeddingDimension → int?
-
Optional. The number of dimensions of the input embedding.
final
-
filterColumns
→ List<
String> -
Optional. Columns of features that're used to filter vector search
results.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- treeAhConfig → FeatureView_VectorSearchConfig_TreeAhconfig?
-
Optional. Configuration options for the tree-AH algorithm (Shallow tree
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String