While a traditional, regular search is good at providing exact matches for the words the user searched for, a semantic search is good at understanding the user intent behind the search. A hybrid search is combining the two in a way that harnesses the strengths of each approach while mitigating their respective limitations, resulting in a more robust and effective search solution.
Follow the steps described in the sections
to set up regular and semantic indexes for your documents.
The /tellusr/api/v1/{project}/query
operation will return a hybrid search result once a semantic and regular index is set up.
Use the semanticWeight
parameter to control the balance between semantic and regular results by providing a number between 0 (regular) and 1 (semantic)
See the API for more details.