Comparing version 2.1.0 to 3.0.0
@@ -1,22 +0,30 @@ | ||
## 2.0.0 (2014-04-15) | ||
## 3.0.0 (2015-06-11) | ||
- Upgrade elasticsearch.js to 5.0.0 | ||
## 2.1.0 (2015-05-27) | ||
- Included `.jshintrc` file | ||
- Fixed minor semicolons issues | ||
- Added `.raw()` method for debugging/editing purposes | ||
## 2.0.0 (2015-04-15) | ||
- Fix fields query (https://github.com/elastic/elasticsearch/issues/4888) | ||
- Dropped support for Elasticsearch 0.90 because of the fields fix | ||
## 1.1.2 (2014-04-14) | ||
## 1.1.2 (2015-04-14) | ||
- Fix: Count query should not be allowed to have a sort param | ||
## 1.1.1 (2014-04-07) | ||
## 1.1.1 (2015-04-07) | ||
- Added search keywords in package.json | ||
## 1.1.0 (2014-04-07) | ||
## 1.1.0 (2015-04-07) | ||
- Fix fields filtering with only arguments | ||
## 1.0.0 (2014-04-07) | ||
## 1.0.0 (2015-04-07) | ||
- Updated elasticsearch.js to latest version | ||
## 0.2.0 (2014-04-07) | ||
## 0.2.0 (2015-04-07) | ||
@@ -26,3 +34,3 @@ - Replaced isarray by npm module | ||
## 0.1.2 (2014-01-29) | ||
## 0.1.2 (2015-01-29) | ||
@@ -29,0 +37,0 @@ Fixes: |
{ | ||
"name": "elasto", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"description": "ElasticSearch client", | ||
@@ -18,3 +18,3 @@ "main": "index", | ||
"isarray": "0.0.1", | ||
"elasticsearch": "^4.0.2" | ||
"elasticsearch": "^5.0.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "devDependencies": { |
@@ -272,2 +272,19 @@ # Elasto [![Circle CI](https://circleci.com/gh/StreetHub/elasto.svg?style=svg)](https://circleci.com/gh/StreetHub/elasto) | ||
### Raw ElasticSearch Query | ||
Returns the raw ElasticSearch computed by Elasto. You can directly use that object with the ElasticSearch node library (that's how Elasto is designed). | ||
Takes `search` or `count` as argument. If empty, the raw query will be `search`. | ||
```javascript | ||
Elasto.query({ | ||
index: 'development', | ||
type: 'tweets' | ||
}) | ||
.raw(); | ||
// Returns Object | ||
// -> { index: 'development', | ||
// type: 'tweets', | ||
// body: { query: { filtered: [Object] } } } | ||
``` | ||
### License | ||
@@ -274,0 +291,0 @@ `elasto` is released under the MIT license. See `LICENSE.txt` for the complete text. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34833
298
1
+ Addedelasticsearch@5.0.0(transitive)
- Removedelasticsearch@4.1.0(transitive)
Updatedelasticsearch@^5.0.0