updated some links in the readme, and removed the bower stuff for now.
This commit is contained in:
54
README.md
54
README.md
@ -1,71 +1,35 @@
|
|||||||
# elasticsearch.js
|
# elasticsearch.js
|
||||||
|
|
||||||
Official *low-level* client for Elasticsearch.
|
The official low-level Elasticsearch client for Node.js and the browser.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- One-to-one mapping with REST API and other language clients
|
- One-to-one mapping with REST API and the other official clients
|
||||||
- Generalized, pluggable architecture. See [replacing core components](docs/replacing_core_components.md)
|
- Generalized, pluggable architecture. See [Extending Core Components](http://spenceralger.github.io/elasticsearch-js/index.html#extending)
|
||||||
- Configurable, automatic discovery of cluster nodes
|
- Configurable, automatic discovery of cluster nodes
|
||||||
- Persistent, Keep-Alive connections
|
- Persistent, Keep-Alive connections
|
||||||
- Load balancing (with pluggable selection strategy) across all available nodes.
|
- Load balancing (with pluggable selection strategy) across all available nodes.
|
||||||
|
|
||||||
## Node and the browser
|
## Install
|
||||||
|
|
||||||
elasticsearch.js works great in node, as well as modern browsers (many thanks to [browserify](https://github.com/substack/node-browserify)!!).
|
|
||||||
|
|
||||||
- Node:
|
|
||||||
|
|
||||||
[](http://build.elasticsearch.com/job/es-js_nightly)
|
|
||||||
|
|
||||||
- Browsers (see [browser builds](#browser-builds)):
|
|
||||||
|
|
||||||
[](http://build.elasticsearch.com/job/es-js_nightly)
|
|
||||||
|
|
||||||
|
|
||||||
## Install in Node
|
|
||||||
|
|
||||||
```
|
```
|
||||||
npm install --save elasticsearch
|
npm install elasticsearch
|
||||||
```
|
```
|
||||||
|
|
||||||
## Browser Builds
|
## Browser Builds
|
||||||
|
|
||||||
Download one of these browser-ready builds, or install them with `bower`
|
We also provide builds of the elasticsearch.js client for use in the browser. If your project uses Angular or jQuery we also provide specifc builds for you, simply include the `elasticsearch.{{lib}}.js` files in your project instead.
|
||||||
|
|
||||||
NOTE: The entire API is compatible with IE 10+, Chrome, Firefox, Safari, and Opera. **IE 8 & 9** only support GET and POST requests cross-domain which is how the `XhrConnection` class makes it's requests.
|
- v0.0.1: [zip](https://download.elasticsearch.org/elasticsearch/elasticsearch-js/0.0.1/elasticsearch-js.zip), [tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch-js/0.0.1/elasticsearch-js.tar.gz)
|
||||||
|
- master: [zip](https://download.elasticsearch.org/elasticsearch/elasticsearch-js/master/elasticsearch-js.zip), [tar.gz](https://download.elasticsearch.org/elasticsearch/elasticsearch-js/master/elasticsearch-js.tar.gz)
|
||||||
- [elasticsearch.js](dist/elasticsearch.min.js) - [dev](dist/elasticsearch.js)
|
|
||||||
- uses the browser's native XMLHttpRequest object
|
|
||||||
- Node style callbacks or promises provided by [when.js](https://github.com/cujojs/when)
|
|
||||||
|
|
||||||
```
|
|
||||||
bower install elasticsearch
|
|
||||||
```
|
|
||||||
|
|
||||||
- [elasticsearch.angular.js](dist/elasticsearch.angular.min.js) - [dev](dist/elasticsearch.angular.js)
|
|
||||||
- Uses Angular's $http service
|
|
||||||
- Returns promises using Angular's $q service (Adds an `abort()` method)
|
|
||||||
|
|
||||||
```
|
|
||||||
bower install elasticsearch-angular
|
|
||||||
```
|
|
||||||
|
|
||||||
- [elasticsearch.jquery.js](dist/elasticsearch.jquery.min.js) - [dev](dist/elasticsearch.jquery.js)
|
|
||||||
- Uses jQuery's .ajax() method
|
|
||||||
- Returns jQuery promises (Adds an `abort()` method)
|
|
||||||
|
|
||||||
```
|
|
||||||
bower install elasticsearch-jquery
|
|
||||||
```
|
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
- [Quick Start](http://spenceralger.github.io/elasticsearch-js/index.html#quick-start)
|
- [Quick Start](http://spenceralger.github.io/elasticsearch-js/index.html#quick-start)
|
||||||
- [API](http://spenceralger.github.io/elasticsearch-js/api.html)
|
- [API](http://spenceralger.github.io/elasticsearch-js/api.html)
|
||||||
- [Configuration](http://spenceralger.github.io/elasticsearch-js/index.html#configuration)
|
- [Configuration](http://spenceralger.github.io/elasticsearch-js/index.html#configuration)
|
||||||
|
- [Development/Contributions](http://spenceralger.github.io/elasticsearch-js/index.html#dev)
|
||||||
- [Extending Core Components](http://spenceralger.github.io/elasticsearch-js/index.html#extending)
|
- [Extending Core Components](http://spenceralger.github.io/elasticsearch-js/index.html#extending)
|
||||||
- [Logging](http://spenceralger.github.io/elasticsearch-js/index.html#logging)
|
- [Logging](http://spenceralger.github.io/elasticsearch-js/index.html#logging)
|
||||||
- [Contributing](http://spenceralger.github.io/elasticsearch-js/index.html#contributing)
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user