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

Merge the query process of series index #505

Merged
merged 14 commits into from
Aug 8, 2024
Merged

Conversation

ButterBright
Copy link
Member

@ButterBright ButterBright added the enhancement New feature or request label Aug 4, 2024
@ButterBright ButterBright added this to the 0.7.0 milestone Aug 4, 2024
@wu-sheng
Copy link
Member

wu-sheng commented Aug 4, 2024

Pleaae update e2e tool version to fix CI

banyand/internal/storage/index.go Outdated Show resolved Hide resolved
pkg/index/index.go Outdated Show resolved Hide resolved
pkg/index/index.go Outdated Show resolved Hide resolved
pkg/index/index.go Outdated Show resolved Hide resolved
for i := range fieldKeys {
fields = append(fields, fieldKeys[i].Marshal())
}
// TODO: add trace information
Copy link
Member

Choose a reason for hiding this comment

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

Should we finish todo in this pr?

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. We should trace the query before merging it.

}
// TODO: add node for Query
Copy link
Member

Choose a reason for hiding this comment

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

Same question here.

@@ -49,30 +49,22 @@ type GlobalIndexError struct {

func (g GlobalIndexError) Error() string { return g.IndexRule.String() }

var _ index.Query = (*Query)(nil)

// Query is a wrapper for bluge.Query.
type Query struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to expose this type since its operations are wrapped by the index.Query?

Copy link
Contributor

@hanahmily hanahmily left a comment

Choose a reason for hiding this comment

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

Nice job

@hanahmily hanahmily merged commit 4588b55 into apache:main Aug 8, 2024
14 checks passed
@wu-sheng
Copy link
Member

wu-sheng commented Aug 9, 2024

What is the new query performance benchmark after this?

@ButterBright
Copy link
Member Author

Sorry for the late reply. I'm adding the relevant benchmarks. Theoretically, the topology queries should see a significant improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BanyanDB-Server] Optimizing Series Index Querying Performance
3 participants