Commit 4826086c authored by Francesco Poldi's avatar Francesco Poldi

Fix geo_point in index #150

parent 8121311a
...@@ -82,8 +82,8 @@ def createIndex(config, instance, **scope): ...@@ -82,8 +82,8 @@ def createIndex(config, instance, **scope):
"quote_url": {"type": "text"}, "quote_url": {"type": "text"},
"search": {"type": "text"}, "search": {"type": "text"},
"near": {"type": "text"}, "near": {"type": "text"},
"geo_near": {"type": "geopoint"}, "geo_near": {"type": "geo_point"},
"geo_tweet": {"type": "geopoint"} "geo_tweet": {"type": "geo_point"}
} }
} }
}, },
...@@ -136,7 +136,7 @@ def createIndex(config, instance, **scope): ...@@ -136,7 +136,7 @@ def createIndex(config, instance, **scope):
"avatar": {"type": "text"}, "avatar": {"type": "text"},
"background_image": {"type": "text"}, "background_image": {"type": "text"},
"session": {"type": "keyword"}, "session": {"type": "keyword"},
"geo_user": {"type": "geopoint"} "geo_user": {"type": "geo_point"}
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment