You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mongodb document having field like address.point : [lat, long] with type 2dsphere is indexed with type double in elasticsearch and due to which I am not able to run any geo queries. Can you please help ?
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to use river to index mongoDB data in elasticsearch, but after doing 👍
curl -XPUT "localhost:9200/_river/abc/_meta" -d '
{
"type": "mongodb",
"mongodb": {
"servers": [
{ "host": "xxxxxx", "port": 27017 }
],
"options": { "secondary_read_preference": true },
"db": "xxxxx",
"collection": "xxxx"
},
"index": {
"name": "abc",
"type": "abc"
}
}'
The mongodb document having field like address.point : [lat, long] with type 2dsphere is indexed with type double in elasticsearch and due to which I am not able to run any geo queries. Can you please help ?
The text was updated successfully, but these errors were encountered: