FindNearestStage

public final class FindNearestStage extends Stage


Performs a vector similarity search, ordering the result set by most similar to least similar, and returning the first N documents in the result set.

Summary

Nested types

public static class FindNearestStage.Companion

Public methods

boolean
equals(Object other)
int

Inherited methods

From com.google.firebase.firestore.pipeline.Stage
final @NonNull FindNearestStage
final @NonNull FindNearestStage
withOption(@NonNull String key, boolean value)

Specify named Boolean parameter

final @NonNull FindNearestStage
withOption(@NonNull String key, double value)

Specify named Double parameter

final @NonNull FindNearestStage

Specify named Field parameter

final @NonNull FindNearestStage
withOption(@NonNull String key, long value)

Specify named Long parameter

final @NonNull FindNearestStage

Specify named String parameter

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()