N1QL query to get document ID that contains

FYI

SELECT META().id FROM default WHERE META().id LIKE "%WORD%"
1 Like