Hello,
I am using ES Java api to run queries against ES. I have a field in ES
which has int data. When I run regex filter on that field im getting number
format exception.
Can't we use regex with numbers? is it only for string fields?
Thanks
Yes. copy the int field value to a string field with copy_to or manually.
Am Donnerstag, 8. Januar 2015 09:56:40 UTC+1 schrieb AK:
Hello,
I am using ES Java api to run queries against ES. I have a field in ES
which has int data. When I run regex filter on that field im getting number
format exception.
Can't we use regex with numbers? is it only for string fields?
Thanks
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.