Skip to content

MB-54131: Geoshape query decode optimization#1864

Merged
abhinavdangeti merged 8 commits into
blevesearch:masterfrom
Likith101:master
Aug 31, 2023
Merged

MB-54131: Geoshape query decode optimization#1864
abhinavdangeti merged 8 commits into
blevesearch:masterfrom
Likith101:master

Conversation

@Likith101

@Likith101 Likith101 commented Aug 8, 2023

Copy link
Copy Markdown
Member
  • Added a buffer pool to be shared by all documents

Related PRs

 - Added a buffer pool to be shared by all documents
Comment thread search/searcher/search_geoshape.go Outdated
Comment thread search/searcher/search_geoshape.go Outdated
Comment thread search/searcher/search_geoshape.go Outdated
 - 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
Comment thread index_impl.go Outdated
Comment thread index_impl.go
 - Changed bufPool initialization to be used only when query has geoshape component

@abhinavdangeti abhinavdangeti left a comment

Copy link
Copy Markdown
Member

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.

Comment thread index_impl.go
Comment thread search/util.go Outdated
 - Changed constant names to better reflect their purpose
 - Handled an edge case where searcher is called with nil context
Comment thread go.sum
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
Copy Markdown
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