We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431c780 commit 214d898Copy full SHA for 214d898
qdrant/oneof_factory.go
@@ -710,6 +710,11 @@ func NewQueryID(id *PointId) *Query {
710
return NewQueryNearest(NewVectorInputID(id))
711
}
712
713
+// Creates a *Query instance for a nearest query from a *Document input.
714
+func NewQueryDocument(document *Document) *Query {
715
+ return NewQueryNearest(NewVectorInputDocument(document))
716
+}
717
+
718
// Creates a *Query instance for recommend query from *RecommendInput.
719
func NewQueryRecommend(recommend *RecommendInput) *Query {
720
return &Query{
0 commit comments