PS3 - as Shay said - please gist a curl recreation
That way it is easy for him to replicate the problem, and to test
whether is has been fixed or not.
On Thu, 2011-02-10 at 12:22 -0800, P3 wrote:
Problem is simple: with _bulk no implicit mapping is generated, by
adding entries one by one, there is one.
Then "exists" on "geoloc" works when there is no mapping and doesn't
work if there is one.
And since to have "geoloc" entry considered as "geo_point" (and be
able to use geo functionalities), you have to create the mapping
explicitly before loading data⦠and by doing so you are beaten by the
problem with "exists" without any way to avoid itâ¦On 9 fév, 20:25, Shay Banon shay.ba...@elasticsearch.com wrote:
Please, stop putting code in the mails, its unreadable. I don't understand the problem, gist an example that recreates it, and we will have a look.
On Wednesday, February 9, 2011 at 3:19 PM, P3 wrote:
However, there is still a problem:
I really need "geo_point" type for "geoloc" field,
so I PUT an explicit mapping at the beginning of the data loading.Then there is no more explicit/accessible/⦠"lat" and "lon" fields in
"geoloc"â¦
thus the trick to filter on "geoloc.lat" instead of "geoloc" doesn't
work anymoreâ¦
and since the filtering on "geoloc" doesn't work either:
we are back to the starting point.
--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.