Coder Social home page Coder Social logo

ali-hassan / elastisch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sharetribe/elastisch

0.0 1.0 0.0 2.18 MB

A minimalistic Clojure client for ElasticSearch, supports both HTTP and native transports

Home Page: http://clojureelasticsearch.info

HTML 5.37% Clojure 94.63%

elastisch's Introduction

Elastisch, a Clojure client for Elasticsearch

Elastisch is a minimalistic Clojure client for Elasticsearch, a modern distributed search engine.

Project Goals

  • Be reasonably feature complete
  • Be well documented
  • Be well tested
  • Closely follow Elasticsearch API structure, no new abstractions introduced
  • Support multiple transports: HTTP, native ES client, possibly more (e.g. Memcached)
  • Follow recent Elasticsearch releases & developments

Community

Elastisch has a mailing list. Feel free to join it and ask any questions you may have.

To subscribe for announcements of releases, important changes and so on, please follow @ClojureWerkz on Twitter.

Project Maturity

Elastisch is a not a young project. Started in late 2011, it has been used in production since the early days. Elastisch API is stable. 1.0 was released in September 2012, 2.0 in June 2014, 2.1 in December 2014, 2.2 in January 2016.

Elastisch 3.x focuses on Elasticsearch 2.x support.

Elastisch 6.x (master) targets ElasticSearch 6.x (and 5.x to the extent possible).

Artifacts

Elastisch artifacts are released to Clojars.

If you are using Maven, add the following repository definition to your pom.xml:

<repository>
  <id>clojars.org</id>
  <url>http://clojars.org/repo</url>
</repository>

The Most Recent 3.x Release

Note: Elastisch documentation is not currently updated for version 3.0.

With Leiningen:

[clojurewerkz/elastisch "3.0.0"]

With Maven:

<dependency>
  <groupId>clojurewerkz</groupId>
  <artifactId>elastisch</artifactId>
  <version>3.0.0</version>
</dependency>

The Most Recent 2.x Release

With Leiningen:

Clojars Project

With Maven:

<dependency>
  <groupId>clojurewerkz</groupId>
  <artifactId>elastisch</artifactId>
  <version>2.2.2</version>
</dependency>

Documentation & Examples

Please see our documentation guides site. Note: Elastisch documentation is not currently updated for version 3.0.

Our test suite also has many code examples.

Supported Clojure Versions

Elastisch requires Clojure 1.6. The most recent stable release is highly recommended.

Supported Elasticsearch Versions

Elastisch 2.1 and 2.2 target Elasticsearch 1.x starting with 1.1 and through 1.7.x. Elastisch master provides Elasticsearch 3.x compatibility but not every ElasticSearch 3.0+ feature.

ElasticSearch 5.0 support will be available in a future version.

REST and Native Clients

Elastisch provides HTTP and native (transport) clients with nearly identical API as of 1.1.0.

Elastisch Is a ClojureWerkz Project

Elastisch is part of the group of Clojure libraries known as ClojureWerkz, together with

and several others.

Continuous Integration

Continuous Integration status Dependencies Status

Development

Elasticsearch Setup

Elastisch needs Elasticsearch running locally (127.0.0.1). ES_CLUSTER_NAME need to be exported with the name of the local cluster. To find it out, use

curl http://localhost:9200/_nodes/cluster

Running Tests

To run Elastisch tests, make sure you have Elasticsearch running. It must be the same version that Elastisch depends on due to binary protocol changes between releases. project.clj or project page on Clojars can help find that out.

Finally, run all tests with

lein all test

To run only HTTP client tests, use

lein all test :ci

Leiningen

Elastisch uses Leiningen 2. Make sure you have it installed and then run tests against all supported Clojure versions using

lein all test

Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request on GitHub.

License

Copyright (C) 2011-2016 Alex Petrov, Michael S. Klishin, and the ClojureWerkz Team.

Double-licensed under the Eclipse Public License (the same as Clojure) and Apache Public License 2.0.

elastisch's People

Contributors

michaelklishin avatar josh-tilles avatar ifesdjeen avatar timgluz avatar joachimdb avatar davie avatar arr-ee avatar henriklundahl avatar nivekuil avatar cichli avatar axel-angel avatar mitchelkuijpers avatar mnussbaum avatar stuarth avatar richievos avatar boutros avatar keeganmyers avatar jonpither avatar lorthos avatar jafingerhut avatar bfontaine avatar jeffreyeriksondg avatar royaldark avatar rakeshp avatar sorenmacbeth avatar braintreeps avatar matthiasn avatar bladealslayer avatar nikopol avatar ryfow avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.