Serkan Mulayim wrote on 6/8/17 7:12 PM:

afaik there is no C implementation of the Regex query. I wrote the Perl version.

You will be *much* happier with storing the file extension as a separate field
and searching on that. Far far more efficient at search time than munging a regex.
Peter Karman  .  .
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