Help :( Node js full text search with n1ql

Hi guys i have a question for full text search
im separating document with type fileld
for ex type=“L” or type=“P” and i create basic fts index but no alias

now i want to full text search on specific field ex: “name” where doc.type="P"
when i look at documents or other topic , i cant do this with fts search query i have to use like or split or token but i dont understand how token works

can you explain what i have to do ?
db version 4.6.5

thanks

I am not expert in FTS @steve . You can take look N1QL TOKENS here.

https://developer.couchbase.com/documentation/server/current/n1ql/n1ql-language-reference/tokenfun.html

https://dzone.com/articles/split-and-conquer-efficient-string-search-with-n1q

thank you i think i ll use split function