Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erickt/rust-elasticsearch
Rust library to interact with ElasticSearch
https://github.com/erickt/rust-elasticsearch
Last synced: 16 days ago
JSON representation
Rust library to interact with ElasticSearch
- Host: GitHub
- URL: https://github.com/erickt/rust-elasticsearch
- Owner: erickt
- License: mit
- Created: 2012-03-09T16:19:58.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-16T13:57:35.000Z (over 10 years ago)
- Last Synced: 2024-10-19T21:47:06.818Z (23 days ago)
- Language: Rust
- Homepage:
- Size: 236 KB
- Stars: 24
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rust-elasticsearch is a [Rust language](http://rust-lang.org) binding for
the [Elasticsearch](http://elasticsearch.org) fulltext search engine.Installation
------------Install for the users of rust-elasticsearch:
% cargo install zmq
% cargo install uri
% cargo install elasticseachInstall for developers:
% git clone https://github.com/erickt/rust-elasticsearch
% cd rust-elasticsearch
% make deps
% makeSetting up Elasticsearch
------------------------rust-elasticsearch uses the
[transport-zeromq](https://github.com/tlrx/transport-zeromq) plugin to
connect with Elasticsearch. Unfortunately it can be a little tricky to set
up. Here is how I got it to work. First, install the [Java
Zeromq](https://github.com/zeromq/jzmq) bindings:% wget https://github.com/zeromq/jzmq/zipball/v1.0.0
% unzip zeromq-jzmq-semver-0-gdaf4775
% cd zeromq-jzmq-8522576
% ./configure
% make
% make installNext, download Elasticsearch:
% wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.4.zip
% unzip elasticsearch-0.19.4.zipAfter that, install the
[transport-zeromq](https://github.com/tlrx/transport-zeromq) plugin:% cd elasticsearch-0.19.4
% ./bin/plugin -install tlrx/transport-zeromq/0.0.3Finally, start Elasticsearch. You may need to explicitly set the shared library path. On Linux, do:
% cd $elasticsearch_dir
% export LD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib
% ./bin/elasticsearch -fAnd Macs, do:
% cd $elasticsearch_dir
% export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib
% ./bin/elasticsearch -f