Closed bharathkontham closed 6 years ago
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."
@bharathkontham reminder - publish the package under the name loopback-connector-esv6
on npmjs which is different from loopback-connector-es
... this will let the following 2 packages follow their own version control, for example:
Published package https://www.npmjs.com/package/loopback-connector-esv6
Merging updates in https://github.com/bharathkontham/loopback-connector-elastic-search for ElasticSearch v6 support.
Following features are added:
Sample query for nested objects and geo_spatial:
{ "where": { "and": [ { "address.geo": { "geo_shape": { "address.geo": { "shape": { "type": "circle", "coordinates": [ 78.38214860577659, 17.44064909837838 ], "radius": "1km" }, "relation": "within" } } } }, { "entity_properties.value": { "gt": 50 } } ] } }
entity_properties is a nested object and address is an object. address.geo has geo_shape data.