How to query for a documents based on the type of a field?

I have a geoip.loc field, of type geo_point.
A few documents accidentally got added into the index with this field as (a pair of) float, which is now causing a mapping conflict.
I'd like to query for these few documents, and then delete these fields to resolve the conflict. Even better would be to convert these floats to geo_point.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.