Skip to content

Instantly share code, notes, and snippets.

@vmunagala0117
Created February 17, 2026 16:48
Show Gist options
  • Select an option

  • Save vmunagala0117/3556092bba18033cff9f35494a0f780a to your computer and use it in GitHub Desktop.

Select an option

Save vmunagala0117/3556092bba18033cff9f35494a0f780a to your computer and use it in GitHub Desktop.
Technique  Core Behavior  Key Strength  Major Weakness 
Metadata Filtering  Filters docs by rigid metadata rules (author, date, region, permissions)  Fast, deterministic, easy to interpret  Ignores text content, cannot rank relevance 
Keyword Search (BM25)  Finds docs with overlapping keywords  Excellent for technical text, product names, structured data  Misses synonyms or paraphrases 
Semantic Search (Embeddings)  Finds docs with similar meaning  Captures synonyms, context, and nuance  Computationally heavier, may miss exact matches 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment