Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elasto

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasto - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

22

CHANGELOG.md

@@ -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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc