Skip to content

Comments

Add supporting notebook for blog: Fast vs. accurate: Measuring the recall of quantized vector search#527

Open
jeffvestal wants to merge 4 commits intomainfrom
fast_vs_accurate_measuring_the_recall_of_quantized_vector_search
Open

Add supporting notebook for blog: Fast vs. accurate: Measuring the recall of quantized vector search#527
jeffvestal wants to merge 4 commits intomainfrom
fast_vs_accurate_measuring_the_recall_of_quantized_vector_search

Conversation

@jeffvestal
Copy link
Contributor

Summary

  • Adds companion Jupyter notebook for the Search Labs blog post: Fast vs. accurate: Measuring the recall of quantized vector search
  • Notebook located at supporting-blog-content/fast_vs_accurate_measuring_the_recall_of_quantized_vector_search/vector_recall_notebook.ipynb

Test plan

  • Verify notebook renders correctly on GitHub
  • Confirm notebook cells execute without errors

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@gitnotebooks
Copy link

gitnotebooks bot commented Feb 20, 2026

Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/elastic/elasticsearch-labs/pull/527

Jeff Vestal and others added 2 commits February 20, 2026 13:49
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
},
"source": [
"# Accompanying Notebook - Fast vs. accurate: Measuring the recall of quantized vector search\n",
"\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps add a brief description and link back to the article to connect the two?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would also add a pre-requisites section stating the Python version.

}
],
"source": [
"import pandas as pd\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

I get a warning running this cell:

TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
from .autonotebook import tqdm as notebook_tqdm

Probably a good idea to address that, unless running as Python 3.12 I'm not in the prerequisite range.

}
],
"source": [
"# !pip install elasticsearch pandas datasets numpy\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing import matplotlib

" label=\"Mixed Categories (Up to 100k)\",\n",
" )\n",
"\n",
" plt.title(\"Vector Search Recall: Scaling form 1k to 100k Docs\", fontsize=16)\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
" plt.title(\"Vector Search Recall: Scaling form 1k to 100k Docs\", fontsize=16)\n",
" plt.title(\"Vector Search Recall: Scaling from 1k to 100k Docs\", fontsize=16)\n",

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.

3 participants