Hello Team,
We would like to use the new FTS feature available in 7.X version of Couchbase Enterprise Server. When we are playing around with a document containing a field of type “string” the match query works fine with partial match of text in String. But when we apply the same for the field of type “array” containing list of String. It’s not working. However it is working as an exact match of the text. Our expectation is that it should also fetch the documents with partial match. Below is the example provided what we are trying in our System.
JSON Document-1:
{
"tags": ["Couchbase FTS", "Full Text Search", "Tokenizer Example"]
}
JSON Document-2:
{
"tags": ["Couchbase Query", "Full Text Search", "Tokenizer Example"]
}
Query used to find the documents matching String “base”
{"query":{ "match": "base", "field": "tags" }}
In return we are getting the following message from the Server
“No results found for your query.
Please check your search term(s) and/or use the syntax help link under the search field”