FTS case insensitive

I’m using ‘Full Text Search’ to query my JSON documents, and would like the search to be case insensitive.

This works when I use the “default” “dynamic” type mapping - however this also enables fuzzy search rather than exact matching.

So, how do I have case insensitive, exact match “keyword” searches? Eg: “london” matches “London”, but not “Old London”.

Thanks!

Hi Benrolfe,

I would highly recommend you to go over three links primarily.
(since answering this query involves covering a lot of basic concepts)

https://docs.couchbase.com/server/6.0/fts/fts-creating-indexes.html
https://docs.couchbase.com/server/6.0/fts/fts-using-analyzers.html

And once you have the right data indexed after applying the right text analysers of your choice,
then you have plenty of query type options to choose from to filter the results you may need,
eg: term Vs Match Vs Match Phrase to name a few related to the question above.

https://docs.couchbase.com/server/6.0/fts/fts-queries.html

Cheers,