I am using Couchbase Lite 3.0.2 version, ASP .Net Core 6
I have the below query and FTS index. But am getting extact match instead of all the words having the searchString.
var indexFields = new string { “OrderNUmber”, “Category” };
_couchbaseRepository.CreateFTSIndex(“FTSIndex”, indexFields);
var queryStr = "SELECT * FROM buck" +
"WHERE type='doc' AND ownerId = '" + id.ToString() + "' " +
"AND MATCH(FTSIndex, \"*" + searchString + "*\") " +
"ORDER BY OrderNumber";
1 post - 1 participant