elasticsearch version 8.x - update 'mappings' and 'count' for keyword parameters and remove document type