Hi @Vargas, Justin J
Thanks for the question and using MS Q&A platform.
It appears you are experiencing an issue with your hybrid query that integrates Full-Text Search and Vector Search using the RRF (Ranked Retrieval Function) in Azure Cosmos DB. The error '_FullTextWordCount' is not a recognized built-in function name
could be due to several reasons.
Here are the steps to troubleshoot and resolve the problem:
You mentioned enabling the Full-Text Hybrid Search for NoSQL API (Preview) and Vector Search for NoSQL API. Double-check these configurations in the Azure portal to confirm they are active for the container.
Try breaking down your query into simpler parts to isolate where the error might be coming from. For example, first, test just the Full-Text Search portion:
SELECT TOP 5 c.content
FROM c
WHERE c.context="[CONTEXT VALUE]"
ORDER BY FullTextScore(c.content, ["<word 1>", "<word 2>"])
If this works without issues, it suggests the problem might be with how the RRF
function or Vector Search is integrated.
Since both Full-Text Search and Vector Search are still in Preview, it’s possible that some features may not be fully stable or could have been updated. Review the latest Azure Cosmos DB documentation for any changes or limitations.
Please go through these documentations that might help you:
If the issue continues, it would be advisable to open a support case with Azure. Preview features can occasionally lead to unexpected behavior.
Hope this helps. Do let us know if you any further queries. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.