Skip to content

Commit

Permalink
Update blevesearch/faiss version required for v2.4.3 (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavdangeti authored Sep 10, 2024
1 parent 33a34c3 commit 0853b9d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/vectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* *v2.4.0* requires [blevesearch/faiss@7b119f4](https://github.com/blevesearch/faiss/tree/7b119f4b9c408989b696b36f8cc53908e53de6db) (modified v1.7.4)
* *v2.4.1* requires [blevesearch/faiss@d9db66a](https://github.com/blevesearch/faiss/tree/d9db66a38518d99eb334218697e1df0732f3fdf8) (modified v1.7.4)
* *v2.4.2* requires [blevesearch/faiss@d9db66a](https://github.com/blevesearch/faiss/tree/d9db66a38518d99eb334218697e1df0732f3fdf8) (modified v1.7.4)
* *v2.4.3* requires [blevesearch/faiss@5ab1ce0](https://github.com/blevesearch/faiss/tree/5ab1ce067475fde3753c5a765db68c679e6b3723) (modified v1.8.0)
* *v2.4.3* requires [blevesearch/faiss@f077bf9](https://github.com/blevesearch/faiss/tree/f077bf939ff4768091760ef7c7051b86f799a919) (modified v1.8.0)

## Supported

Expand Down Expand Up @@ -81,12 +81,11 @@ if err != nil {
fmt.Println(searchResult.Hits)
```

## Querying with Filters (v2.4.3+)
## Querying with filters (v2.4.3+)

```go
searchRequest := NewSearchRequest(query.NewMatchNoneQuery())

filterQuery := NewTermQuery("hello")

searchRequest.AddKNNWithFilter(
"vec", // vector field name
[]float32{10,11,12,13,14,15,16,17,18,19}, // query vector (same dims)
Expand Down

0 comments on commit 0853b9d

Please sign in to comment.