loopback-connector-elastic-search
loopback-connector-elastic-search copied to clipboard
Strongloop Loopback connector for Elasticsearch
There is only _source part of json if related model get fetched with include filter.
https://github.com/strongloop-community/loopback-connector-elastic-search/blob/master/lib/esConnector.js#L611 The log in line 611 refers to function `buildNestedQueries` instead of `buildDeepNestedQueries`
`02.basic-querying.test.js` tests should run with the usecase where `refresh` is not enabled. That is not what happens right now! Because the new default is to have `refresh` enabled by default...
Hi guys, I was wondering if we have distinct function support. Although it's giving `.distinct is not a function` error right now. Thanks Yousha Rizvi
Sind we are never interested in the score of a document (How well does something match), all queries should execute as a filter. Currently we do not use filter context,...
If we try to run a boot script now without our connector being initialised we get back an error saying Index doesn't exist. here's the error message ``` Unhandled rejection...
During login, an unexpected/strange query to the elasticsearch (ES) is made and it fails because ACL doesn't have any entries in ES and even though the result set should be...
Notes to learn from mongodb's implementation: 1. https://github.com/strongloop/loopback-connector-mongodb/blob/367bc033a546130b9f834d17a9d4f769aaefef92/lib/mongodb.js#L730 2. https://github.com/strongloop/loopback-connector-mongodb/blob/2a90951c482508bdc06d04e5a5b87e8e54f1ae6f/test/imported.test.js#L9 3. loopback-datasource-juggler/test/include.test.js - https://github.com/strongloop/loopback-datasource-juggler/blob/master/test/include.test.js In the meantime a workaround is to use the `native` filter instead of `include` to write...
I'm using an ElasticSearch solution for search-as-you-type, that requires a custom analyzer. In order for this to work, a custom analyzer/tokenizer have to be set when creating an index. I'm...