Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MB-54131: Geoshape query decode optimization #1864

Merged
merged 8 commits into from
Aug 31, 2023

Conversation

Likith101
Copy link
Member

@Likith101 Likith101 commented Aug 8, 2023

  • Added a buffer pool to be shared by all documents

Related PRs

 - Added a buffer pool to be shared by all documents
 - Removed initialization of buffers in the pool
 - Modified code to fit GeoBufferPool
 - Added buffer pool to context
 - Added relavent key and callback functions in util.go
index_impl.go Outdated Show resolved Hide resolved
 - Changed bufPool initialization to be used only when query has geoshape component
Copy link
Member

@abhinavdangeti abhinavdangeti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update go.mod to use v0.1.18 for blevesearch/geo.

index_impl.go Show resolved Hide resolved
search/util.go Outdated Show resolved Hide resolved
 - Changed constant names to better reflect their purpose
 - Handled an edge case where searcher is called with nil context
go.sum Outdated
@@ -92,8 +92,10 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 95 & 98 below seem unrelated.

@abhinavdangeti abhinavdangeti merged commit 4535437 into blevesearch:master Aug 31, 2023
abhinavdangeti pushed a commit that referenced this pull request Aug 31, 2023
 - Added a buffer pool to be shared by all documents
 - Removed initialization of buffers in the pool
 - Modified code to fit GeoBufferPool
 - Added buffer pool to context
 - Added relavent key and callback functions in util.go
 - Changed bufPool initialization to be used only when query has geoshape component
 - Changed constant names to better reflect their purpose
 - Handled an edge case where searcher is called with nil context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants