Create FTS index in console

Hello ,

I have FTS json in the below format. I need to run this in Couchbase console UI to create the UI.

==
curl -XPUT -H “Content-Type: application/json” \
-u Administrator:“rG%?QZ1KNP8” http://10.144.62.224:8094/api/index/CB_INDEX_FTS_001_022 -d
‘{
}’

==

Somehow i am not getting it right, not been able to create it. Could you help pointing to the right syntax.

Thanks,
Prasanna

What’s the error you’re getting? See the example at: https://docs.couchbase.com/server/current/fts/fts-creating-indexes.html. Sample has an additional option.

keshav - The link you provided points to the FTS creation in the server. I have a requirement to create it in console itself.

Thanks

N1QL has the CURL functionality, but you’d need permissions to issue CURL.
See: https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/curl.html