Skip to main content

Keyword Search using BM25 with SearchBM25  

Search for keywords in nodes using the BM25 ranking algorithm.
BM25 is a ranking function used for full-text search. It searches through the text properties of nodes and ranks results based on keyword relevance and frequency.
When using the SDKs or curling the endpoint, the query name must match what is defined in the queries.hx file exactly.
Here’s how to run the query using the SDKs or curl

Example 2: Keyword search with postfiltering

Here’s how to run the query using the SDKs or curl