Skip to content

Narek/bm25 bloom#343

Merged
var77 merged 27 commits intomainfrom
narek/bm25_bloom
Nov 15, 2024
Merged

Narek/bm25 bloom#343
var77 merged 27 commits intomainfrom
narek/bm25_bloom

Conversation

@Ngalstyan4
Copy link
Copy Markdown
Contributor

No description provided.

@Ngalstyan4 Ngalstyan4 requested a review from var77 October 15, 2024 02:52
Copy link
Copy Markdown

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Hi! Looks like you've reached your API usage limit. You can increase it from your account settings page here: app.greptile.com/settings/usage

3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Oct 15, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 15, 2024

Benchmarks

metric old new pct change
recall (after create) 0.951 0.938 -1.37%
recall (after insert) 0.000 0.000 -
select tps 11699.898 12007.805 +2.63%
select bulk(100) tps 36.385 34.569 -4.99%
select latency (ms) 1.054 ± 2.162𝜎 0.836 ± 2.230𝜎 -20.68%
select bulk(100) latency (ms) 853.805 ± 119.628𝜎 883.525 ± 152.265𝜎 +3.48%
create latency (ms) 419561.642 409382.588 -2.43%
insert tps 438.155 443.359 +1.19%
insert bulk(100) tps 4.737 4.638 -2.09%
insert latency (ms) 72.373 ± 17.948𝜎 71.567 ± 16.174𝜎 -1.11%
insert bulk(100) latency (ms) 6642.609 ± 124.848𝜎 6783.496 ± 94.631𝜎 +2.12%
disk usage (bytes) 8192008192.000 8192008192.000 -

@Ngalstyan4 Ngalstyan4 force-pushed the narek/bm25_bloom branch 3 times, most recently from 2f0a524 to 2d867b3 Compare November 6, 2024 01:52
@Ngalstyan4 Ngalstyan4 force-pushed the narek/bm25_bloom branch 3 times, most recently from 5440658 to 3419924 Compare November 15, 2024 06:30
client
.select(
&format!(
"SELECT term, term_freq FROM {}_bm25 WHERE term = ANY(text_to_stem_array('{}'));",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do we need to quote_ident the table name to support upper-case table names or is it guaranteed to be lowercase?

@var77 var77 merged commit 1257c10 into main Nov 15, 2024
@var77 var77 deleted the narek/bm25_bloom branch November 15, 2024 18:08
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