No existing issues.
Description
the function getStates and getStatesAsync flood the log (level = debug) with the message Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') if you call this cyclic.
Please change the debug level to silly.
Why?
log message don't bring a benifit and using wildcard at the end is rare.
How?
Please change the log level from debug to silly.