Get startedGet started for free

Queries in Weaviate

This exercise is part of the course

End-to-End RAG with Weaviate

View Course

Exercise instructions

  • Perform a keyword search using BM25 on first the query "space" and then "spaace".
  • Perform a vector search on the same two queries and compare the results.
  • Perform a hybrid search on the query "space" with an alpha value of 0.5 and compare to the keyword and vector search results.
  • Perform a vector search using the query "science fiction" and applying a filter for release_year greater than 2015.
  • Perform the same query again, but using two filters: release_year less than 2015 and popularity greater than 100.


Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.


Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise