Class FindNearest
Nearest Neighbors search config.
Implements
Inherited Members
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class FindNearest : IDirectResponseSchema
Properties
DistanceMeasure
Required. The distance measure to use, required.
Declaration
[JsonProperty("distanceMeasure")]
public virtual string DistanceMeasure { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Limit
Required. The number of nearest neighbors to return. Must be a positive integer of no more than 1000.
Declaration
[JsonProperty("limit")]
public virtual int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? |
QueryVector
Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions.
Declaration
[JsonProperty("queryVector")]
public virtual Value QueryVector { get; set; }
Property Value
Type | Description |
---|---|
Value |
VectorField
Required. An indexed vector field to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned.
Declaration
[JsonProperty("vectorField")]
public virtual FieldReference VectorField { get; set; }
Property Value
Type | Description |
---|---|
FieldReference |