From ce4da7d15760c30a1d0953651714689b623aa79c Mon Sep 17 00:00:00 2001 From: Likith B Date: Fri, 8 Aug 2025 10:46:48 +0530 Subject: [PATCH] MB-66210: Go mod changes and test case fix - Fixed a testcase that initialized an invalid geometry collection object - Pulling in geo v0.2.4 --- go.mod | 2 +- go.sum | 4 ++-- search/searcher/geoshape_intersects_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index bcdfa6f42..2ac37cb59 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/RoaringBitmap/roaring/v2 v2.4.5 github.com/bits-and-blooms/bitset v1.22.0 github.com/blevesearch/bleve_index_api v1.2.8 - github.com/blevesearch/geo v0.2.3 + github.com/blevesearch/geo v0.2.4 github.com/blevesearch/go-faiss v1.0.25 github.com/blevesearch/go-metrics v0.0.0-20201227073835-cf1acfcdf475 github.com/blevesearch/go-porterstemmer v1.0.3 diff --git a/go.sum b/go.sum index 1a3b7c9ba..b793a2e77 100644 --- a/go.sum +++ b/go.sum @@ -5,8 +5,8 @@ github.com/bits-and-blooms/bitset v1.22.0 h1:Tquv9S8+SGaS3EhyA+up3FXzmkhxPGjQQCk github.com/bits-and-blooms/bitset v1.22.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/blevesearch/bleve_index_api v1.2.8 h1:Y98Pu5/MdlkRyLM0qDHostYo7i+Vv1cDNhqTeR4Sy6Y= github.com/blevesearch/bleve_index_api v1.2.8/go.mod h1:rKQDl4u51uwafZxFrPD1R7xFOwKnzZW7s/LSeK4lgo0= -github.com/blevesearch/geo v0.2.3 h1:K9/vbGI9ehlXdxjxDRJtoAMt7zGAsMIzc6n8zWcwnhg= -github.com/blevesearch/geo v0.2.3/go.mod h1:K56Q33AzXt2YExVHGObtmRSFYZKYGv0JEN5mdacJJR8= +github.com/blevesearch/geo v0.2.4 h1:ECIGQhw+QALCZaDcogRTNSJYQXRtC8/m8IKiA706cqk= +github.com/blevesearch/geo v0.2.4/go.mod h1:K56Q33AzXt2YExVHGObtmRSFYZKYGv0JEN5mdacJJR8= github.com/blevesearch/go-faiss v1.0.25 h1:lel1rkOUGbT1CJ0YgzKwC7k+XH0XVBHnCVWahdCXk4U= github.com/blevesearch/go-faiss v1.0.25/go.mod h1:OMGQwOaRRYxrmeNdMrXJPvVx8gBnvE5RYrr0BahNnkk= github.com/blevesearch/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:kDy+zgJFJJoJYBvdfBSiZYBbdsUL0XcjHYWezpQBGPA= diff --git a/search/searcher/geoshape_intersects_test.go b/search/searcher/geoshape_intersects_test.go index 8de223705..b03f03ee8 100644 --- a/search/searcher/geoshape_intersects_test.go +++ b/search/searcher/geoshape_intersects_test.go @@ -1586,7 +1586,7 @@ func TestGeometryCollectionPointIntersects(t *testing.T) { Types: []string{"linestring"}, }, { - QueryShape: [][][][][]float64{{{{{1, 1}, {2, 2}, {0, 2}, {1, 0}}, {{5, 6}}}}}, + QueryShape: [][][][][]float64{{{{{1, 1}, {2, 2}, {0, 2}, {1, 1}}}, {{{5, 6}}}}}, DocShapeVertices: []float64{1.5, 1.9}, DocShapeName: "point1", Desc: "point inside polygon in geometry collection",