added NOT operator for db, elasticsearch, redis

issue #1523