[#9025] failed to parse query when registering query for Percolator API

For ElasticSearch to provided backward-compatibility while giving percolator a option to force field mappings beforehand, index.percolator.allow_unmapped_fields: true should be applied as default option.