Hi all !

I was using a previous version of ES with "script.engine.groovy.inline.update: on" in order to apply regexp on an _uid field by using the following query (_trying to get _id fields greater than 26 characters_):

> { "query": { "bool": { "must": [ { "regexp": { "_uid": { "value": "mydoctype..{26,}" } } } ] } } }

And this was working as expected.

Unfortunately, after upgrading to the latest version of ES, I got the following error when running the same search:
 
> TransportError(400, u'search_phase_execution_exception', u'Can only use regexp queries on keyword and text fields - not on [_uid] which is of type [_uid]')

Is the regexp support over meta fields no longer supported?

Is there any other way of doing this that I might be missing?

Thanks in advance for your time !
---
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB