[#314,backends][m]: remove elasticsearch backend - now in own repo https://github.com/okfn/elasticsearch.js.

This commit is contained in:
Rufus Pollock
2013-06-30 21:51:39 +01:00
parent f1ec8f0474
commit e4adc0c34a
8 changed files with 5 additions and 953 deletions

View File

@@ -111,21 +111,12 @@ a bespoke chooser and a Kartograph (svg-only) map.
</script>
## Loading Data from ElasticSearch and the DataHub
## Loading Data from ElasticSearch
Recline supports ElasticSearch as a full read/write/query backend. It also means that Recline can load data from the [DataHub's](http://datahub.io/) data API as that is ElasticSearch compatible. Here's an example, using [this dataset about Rendition flights](http://datahub.io/dataset/rendition-on-record/ac5a28ea-eb52-4b0a-a399-5dcc1becf9d9') on the DataHub:
Recline supports ElasticSearch as a full read/write/query backend via the
[ElasticSearch.js library][esjs]. See the library for examples.
{% highlight javascript %}
{% include example-backends-elasticsearch.js %}
{% endhighlight %}
### Result
<div id="my-elasticsearch" class="doc-ex-rendered">&nbsp;</div>
<script type="text/javascript">
{% include example-backends-elasticsearch.js %}
</script>
[esjs]: https://github.com/okfn/elasticsearch.js
## Loading data from CSV files