Skip to content

Commit

Permalink
MB-61889: support search with params (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
moshaad7 authored Jul 24, 2024
1 parent 8796fc8 commit 468428b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vector_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package index

import (
"context"
"encoding/json"
"reflect"
)

Expand Down Expand Up @@ -47,7 +48,7 @@ type VectorReader interface {
}

type VectorIndexReader interface {
VectorReader(ctx context.Context, vector []float32, field string, k int64) (
VectorReader(ctx context.Context, vector []float32, field string, k int64, searchParams json.RawMessage) (
VectorReader, error)
}

Expand Down

0 comments on commit 468428b

Please sign in to comment.