Field Mapping

I've mapped several fields as "byte" and "float", but when I retrieve the
search result (using the PHP library), those fields are returned as strings
in the JSON, is that correct?

Bruno

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/488627ef-cf9c-4378-b6ff-a7e689b1857c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I've mapped several fields as "byte" and "float", but when I retrieve the search result (using the
PHP library), those fields are returned as strings in the JSON, is that correct?

If you have the _source field enabled, you should just get back the original JSON you put in, regardless of mapping.
-Michael

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CO2PR0701MB1031D3DE609738439472B93DD4590%40CO2PR0701MB1031.namprd07.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.