Woah crazy, never would've thought of that, thanks a lot for following up! On Wed, Apr 1, 2015 at 12:31 PM, Pascal VINCENT <pasvinc...@gmail.com> wrote:
> I finally come up with : > > if [latitude] and [longitude] { > mutate { > add_field => [ "[location]", "%{longitude}" ] > add_field => [ "[location]", "%{latitude}" ] > } > mutate { > convert => [ "[location]", "float" ] > } > } > > >>>> -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/QaI1fj74RlM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/47c8334d-109e-4052-9973-afa69dd49709%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/47c8334d-109e-4052-9973-afa69dd49709%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- -- Alex -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CACXbQESyNcYr9g1u2dEFRovHE-NtB_JwugNn76G7_36Tm0Mteg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.