For hybrid search, is it required to enable auto embedding? What if the data is inserted with embeddings from backend ?
j
Jason Bosco
08/19/2023, 5:29 PM
You can do this, but then you will have to generate embeddings for the query term yourself and send those vectors with vector_query parameter and the keyword in the q parameter. Typesense will then do a hybrid search
Jason Bosco
08/19/2023, 5:31 PM
If you use built-in embeddings, then you Typesense will generate the embeddings for the query as well, and you don’t have to use the vector_query parameter, just send the keyword in the q parameter
❤️ 1
m
Md Mahmudul Huq
08/19/2023, 5:33 PM
I had tried multi search previously where the search keyword is embedded and then passed and another search is regular,
Already from v24 embedding column is populated with data. Will it work similarly ? Or I need to change the schema to enable auto embedding for better performance ?
j
Jason Bosco
08/19/2023, 6:06 PM
It will work similarly, but only in v0.25.
In v0.24 we didn’t allow using q and vector_query together
m
Md Mahmudul Huq
08/22/2023, 7:40 AM
I tried multi search and then merged results but yesterday tried v25 which works great.