The documents in the index have a field named "collected" which is dynamic
and changes between documents.
When I try to run this query I get NumberFormatException since some of the
fields are Numeric and I guess elasticsearch tries to cast the input string
to a number.
Is there any possibility to make the query_string parameter perform a 'best
effort' search without raising that exception so that it will ignore the
fields that he can't cast,
The documents in the index have a field named "collected" which is dynamic
and changes between documents.
When I try to run this query I get NumberFormatException since some of the
fields are Numeric and I guess elasticsearch tries to cast the input string
to a number.
Is there any possibility to make the query_string parameter perform a
'best effort' search without raising that exception so that it will ignore
the fields that he can't cast,
I am using simple query string and also get this number format exception
for same reason. However it seems there is no "lenient" flag for simple
query string.
The documents in the index have a field named "collected" which is
dynamic and changes between documents.
When I try to run this query I get NumberFormatException since some of
the fields are Numeric and I guess elasticsearch tries to cast the input
string to a number.
Is there any possibility to make the query_string parameter perform a
'best effort' search without raising that exception so that it will ignore
the fields that he can't cast,
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.