‘_’ is pattern matching character. Try escaping like below.
select meta(bucket) as meta from bucket where
meta(bucket).id like '%digital\\_signature\\_%';
If you are looking get documents that start with prefix digital_signature_####. The following is right query (remove leading %) and it will perform well. select meta(bucket) as meta from bucket where meta(bucket).id like 'digital\\_signature\\_%';