code: function (query, string, exact) {
          if (typeof string !== 'string' || string === '') {
            return false;
          }
          if (exact) {
            return string.toLowerCase() === query.toLowerCase();
          }
          return string.toLowerCase().indexOf(query.toLowerCase()) !== -1;
        }
docs: Search in string field