Skip to content

Commit 0f10286

Browse files
Merge branch 'master' into IndexUpdate
2 parents 4fab6ba + cba1098 commit 0f10286

File tree

5 files changed

+15
-22
lines changed

5 files changed

+15
-22
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
go-version: [1.22.x, 1.23.x, 1.24.x]
11+
go-version: [1.23.x, 1.24.x, 1.25.x]
1212
platform: [ubuntu-latest, macos-latest, windows-latest]
1313
runs-on: ${{ matrix.platform }}
1414
steps:

docs/vectors.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
| `v2.4.1`, `v2.4.2` | [blevesearch/faiss@d9db66a](https://github.com/blevesearch/faiss/tree/d9db66a38518d99eb334218697e1df0732f3fdf8) (modified v1.7.4) |
1919
| `v2.4.3`, `v2.4.4` | [blevesearch/faiss@b747c55](https://github.com/blevesearch/faiss/tree/b747c55a93a9627039c34d44b081f375dca94e57) (modified v1.8.0) |
2020
| `v2.5.0`, `v2.5.1` | [blevesearch/faiss@352484e](https://github.com/blevesearch/faiss/tree/352484e0fc9d1f8f46737841efe5f26e0f383f71) (modified v1.10.0) |
21-
| `v2.5.2`, `v2.5.3` | [blevesearch/faiss@b3d4e00](https://github.com/blevesearch/faiss/tree/b3d4e00a69425b95e0b283da7801efc9f66b580d) (modified v1.11.0) |
21+
| `v2.5.2`, `v2.5.3`, `v2.5.4` | [blevesearch/faiss@b3d4e00](https://github.com/blevesearch/faiss/tree/b3d4e00a69425b95e0b283da7801efc9f66b580d) (modified v1.11.0) |
2222

2323
## Supported
2424

@@ -161,13 +161,6 @@ sudo cp build/c_api/libfaiss_c.dylib /usr/local/lib
161161

162162
Once the supporting library is built and made available, a sanity run is recommended to make sure all unit tests and especially those accessing the vectors' code pass. Here's how ..
163163

164-
```shell
165-
export DYLD_LIBRARY_PATH=/usr/local/lib
166-
go test -v ./... --tags=vectors
167-
```
168-
169-
-or-
170-
171164
```shell
172165
go test -ldflags "-r /usr/local/lib" ./... -tags=vectors
173166
```

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ toolchain go1.23.9
77
require (
88
github.com/RoaringBitmap/roaring/v2 v2.4.5
99
github.com/bits-and-blooms/bitset v1.22.0
10-
github.com/blevesearch/bleve_index_api v1.2.9
10+
github.com/blevesearch/bleve_index_api v1.2.10
1111
github.com/blevesearch/geo v0.2.4
1212
github.com/blevesearch/go-faiss v1.0.25
1313
github.com/blevesearch/go-metrics v0.0.0-20201227073835-cf1acfcdf475
1414
github.com/blevesearch/go-porterstemmer v1.0.3
1515
github.com/blevesearch/goleveldb v1.0.1
1616
github.com/blevesearch/gtreap v0.1.1
17-
github.com/blevesearch/scorch_segment_api/v2 v2.3.11
17+
github.com/blevesearch/scorch_segment_api/v2 v2.3.12
1818
github.com/blevesearch/segment v0.9.1
1919
github.com/blevesearch/snowball v0.6.1
2020
github.com/blevesearch/snowballstem v0.9.0
@@ -26,7 +26,7 @@ require (
2626
github.com/blevesearch/zapx/v13 v13.4.2
2727
github.com/blevesearch/zapx/v14 v14.4.2
2828
github.com/blevesearch/zapx/v15 v15.4.2
29-
github.com/blevesearch/zapx/v16 v16.2.5
29+
github.com/blevesearch/zapx/v16 v16.2.6
3030
github.com/couchbase/moss v0.2.0
3131
github.com/spf13/cobra v1.8.1
3232
go.etcd.io/bbolt v1.4.0

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ github.com/RoaringBitmap/roaring/v2 v2.4.5/go.mod h1:FiJcsfkGje/nZBZgCu0ZxCPOKD/
33
github.com/bits-and-blooms/bitset v1.12.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
44
github.com/bits-and-blooms/bitset v1.22.0 h1:Tquv9S8+SGaS3EhyA+up3FXzmkhxPGjQQCkcs2uw7w4=
55
github.com/bits-and-blooms/bitset v1.22.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
6-
github.com/blevesearch/bleve_index_api v1.2.9 h1:WqD3kvYwnlYLv8sTdH+AF7n/L4v969Cek68+wZnYj4Q=
7-
github.com/blevesearch/bleve_index_api v1.2.9/go.mod h1:rKQDl4u51uwafZxFrPD1R7xFOwKnzZW7s/LSeK4lgo0=
6+
github.com/blevesearch/bleve_index_api v1.2.10 h1:FMFmZCmTX6PdoLLvwUnKF2RsmILFFwO3h0WPevXY9fE=
7+
github.com/blevesearch/bleve_index_api v1.2.10/go.mod h1:rKQDl4u51uwafZxFrPD1R7xFOwKnzZW7s/LSeK4lgo0=
88
github.com/blevesearch/geo v0.2.4 h1:ECIGQhw+QALCZaDcogRTNSJYQXRtC8/m8IKiA706cqk=
99
github.com/blevesearch/geo v0.2.4/go.mod h1:K56Q33AzXt2YExVHGObtmRSFYZKYGv0JEN5mdacJJR8=
1010
github.com/blevesearch/go-faiss v1.0.25 h1:lel1rkOUGbT1CJ0YgzKwC7k+XH0XVBHnCVWahdCXk4U=
@@ -20,8 +20,8 @@ github.com/blevesearch/gtreap v0.1.1/go.mod h1:QaQyDRAT51sotthUWAH4Sj08awFSSWzgY
2020
github.com/blevesearch/mmap-go v1.0.2/go.mod h1:ol2qBqYaOUsGdm7aRMRrYGgPvnwLe6Y+7LMvAB5IbSA=
2121
github.com/blevesearch/mmap-go v1.0.4 h1:OVhDhT5B/M1HNPpYPBKIEJaD0F3Si+CrEKULGCDPWmc=
2222
github.com/blevesearch/mmap-go v1.0.4/go.mod h1:EWmEAOmdAS9z/pi/+Toxu99DnsbhG1TIxUoRmJw/pSs=
23-
github.com/blevesearch/scorch_segment_api/v2 v2.3.11 h1:bYuEgsyGqgU/gy0/Vk6g1eCUqGBs2r+3bRCv+Cnq2kc=
24-
github.com/blevesearch/scorch_segment_api/v2 v2.3.11/go.mod h1:aAWoeQ3DdoZ3Z5138jXVSd1T/klGwvg11z0pSxrJSEk=
23+
github.com/blevesearch/scorch_segment_api/v2 v2.3.12 h1:GGZc2qwbyRBwtckPPkHkLyXw64mmsLJxdturBI1cM+c=
24+
github.com/blevesearch/scorch_segment_api/v2 v2.3.12/go.mod h1:JBRGAneqgLSI2+jCNjtwMqp2B7EBF3/VUzgDPIU33MM=
2525
github.com/blevesearch/segment v0.9.1 h1:+dThDy+Lvgj5JMxhmOVlgFfkUtZV2kw49xax4+jTfSU=
2626
github.com/blevesearch/segment v0.9.1/go.mod h1:zN21iLm7+GnBHWTao9I+Au/7MBiL8pPFtJBJTsk6kQw=
2727
github.com/blevesearch/snowball v0.6.1 h1:cDYjn/NCH+wwt2UdehaLpr2e4BwLIjN4V/TdLsL+B5A=
@@ -44,8 +44,8 @@ github.com/blevesearch/zapx/v14 v14.4.2 h1:2SGHakVKd+TrtEqpfeq8X+So5PShQ5nW6GNxT
4444
github.com/blevesearch/zapx/v14 v14.4.2/go.mod h1:rz0XNb/OZSMjNorufDGSpFpjoFKhXmppH9Hi7a877D8=
4545
github.com/blevesearch/zapx/v15 v15.4.2 h1:sWxpDE0QQOTjyxYbAVjt3+0ieu8NCE0fDRaFxEsp31k=
4646
github.com/blevesearch/zapx/v15 v15.4.2/go.mod h1:1pssev/59FsuWcgSnTa0OeEpOzmhtmr/0/11H0Z8+Nw=
47-
github.com/blevesearch/zapx/v16 v16.2.5 h1:xfMrpzYIpAL6JEzLXUQZVXcLrvHe3w7+/YoATZPq6i0=
48-
github.com/blevesearch/zapx/v16 v16.2.5/go.mod h1:T4ydQDpsyQxB5LM04lJN0vP+pzjTgVJH5MmNIPqN0ZA=
47+
github.com/blevesearch/zapx/v16 v16.2.6 h1:OHuUl2GhM+FpBq9RwNsJ4k/QodqbMMHoQEgn/IHYpu8=
48+
github.com/blevesearch/zapx/v16 v16.2.6/go.mod h1:cuAPB+YoIyRngNhno1S1GPr9SfMk+x/SgAHBLXSIq3k=
4949
github.com/couchbase/ghistogram v0.1.0 h1:b95QcQTCzjTUocDXp/uMgSNQi8oj1tGwnJ4bODWZnps=
5050
github.com/couchbase/ghistogram v0.1.0/go.mod h1:s1Jhy76zqfEecpNWJfWUiKZookAFaiGOEoyzgHt9i7k=
5151
github.com/couchbase/moss v0.2.0 h1:VCYrMzFwEryyhRSeI+/b3tRBSeTpi/8gn5Kf6dxqn+o=

search/scorer/scorer_term_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func TestTermScorer(t *testing.T) {
5858
Sort: []string{},
5959
Expl: &search.Explanation{
6060
Value: math.Sqrt(1.0) * idf,
61-
Message: "fieldWeight(desc:beer in one), as per tfidf model, product of:",
61+
Message: "fieldWeight(desc:beer in one), as per tf-idf model, product of:",
6262
Children: []*search.Explanation{
6363
{
6464
Value: 1,
@@ -100,7 +100,7 @@ func TestTermScorer(t *testing.T) {
100100
Sort: []string{},
101101
Expl: &search.Explanation{
102102
Value: math.Sqrt(1.0) * idf,
103-
Message: "fieldWeight(desc:beer in one), as per tfidf model, product of:",
103+
Message: "fieldWeight(desc:beer in one), as per tf-idf model, product of:",
104104
Children: []*search.Explanation{
105105
{
106106
Value: 1,
@@ -131,7 +131,7 @@ func TestTermScorer(t *testing.T) {
131131
Sort: []string{},
132132
Expl: &search.Explanation{
133133
Value: math.Sqrt(65) * idf,
134-
Message: "fieldWeight(desc:beer in one), as per tfidf model, product of:",
134+
Message: "fieldWeight(desc:beer in one), as per tf-idf model, product of:",
135135
Children: []*search.Explanation{
136136
{
137137
Value: math.Sqrt(65),
@@ -224,7 +224,7 @@ func TestTermScorerWithQueryNorm(t *testing.T) {
224224
},
225225
{
226226
Value: math.Sqrt(1.0) * idf,
227-
Message: "fieldWeight(desc:beer in one), as per tfidf model, product of:",
227+
Message: "fieldWeight(desc:beer in one), as per tf-idf model, product of:",
228228
Children: []*search.Explanation{
229229
{
230230
Value: 1,

0 commit comments

Comments
 (0)