If there are some issues with file format, maybe it could be allowed at
least store values as is?
I mean, if first added field was string, float or int values could be added
as string, without raising an exception'MapperParsingException[Failed to
parse [field_name]];'?
The main problem comes when a dynamic field is dynamically introduced as a number, so its type is set to a number, but then you try and index a string to it. It will fail because a numeric value and a string value are indexed very differently.
In 0.19.9 you can set on the numeric values a setting that set it to be ignore_malformed to true. What you can't actually do is set it as a global setting for an index. That can prove useful, open an issue?
If there are some issues with file format, maybe it could be allowed at least store values as is?
I mean, if first added field was string, float or int values could be added as string, without raising an exception'MapperParsingException[Failed to parse [field_name]];'?
Le jeudi 30 août 2012 03:35:34 UTC+6, kimchy a écrit :
The main problem comes when a dynamic field is dynamically introduced as a
number, so its type is set to a number, but then you try and index a string
to it. It will fail because a numeric value and a string value are indexed
very differently.
In 0.19.9 you can set on the numeric values a setting that set it to be
ignore_malformed to true. What you can't actually do is set it as a global
setting for an index. That can prove useful, open an issue?
On Aug 29, 2012, at 6:29 PM, Rauan Maemirov <raua...@gmail.com<javascript:>>
wrote:
If there are some issues with file format, maybe it could be allowed at
least store values as is?
I mean, if first added field was string, float or int values could be
added as string, without raising an exception'MapperParsingException[Failed
to parse [field_name]];'?
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.