Open mohit3081989 opened 8 years ago
Hi, I am trying to use river to index mongoDB data in elasticsearch, but after doing :+1:
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 ?
Hi, I am trying to use river to index mongoDB data in elasticsearch, but after doing :+1:
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 ?