Giter VIP home page Giter VIP logo

workday / escalar Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 5.0 927 KB

A Scala client for Elasticsearch’s HTTP API which presents Scala-idiomatic, typed interface. Elasticsearch exposes an HTTP API with several community-provided language bindings. A Java client exists for this HTTP API called Jest, but there is no Scala API. This client is currently implemented as a wrapper around Jest.

License: MIT License

Scala 99.97% Shell 0.03%

escalar's People

Contributors

bojdell avatar jshah avatar sulimmesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

escalar's Issues

Update Range Query To Be API Friendly

The Range Query currently has optional bound parms that could result in an empty query and also required ComparisonOp's that create funky method calls. We need to update the query so we pair the required parameters (ComparisonOp and Range value) and make the upperBound optional. This will result in a cleaner call to the query and a guaranteed result.

tag support in .travis.yml

Using tags we can target which version of the client we build and which versions of Scala we compile against.

Add extensibility to escalar

Adding more extensibility will make it easier for others to use escalar for ES versions beyond 1.7 until we release and official upgrade.

Cross-compile against Scala 2.12

We currently compile against Scala 2.10 and 2.11, we should add 2.12 to this so that new projects using 2.12 can also use our client.

Index API should perform an index op, not update

The current implementation of the simple index API performs an update operation instead of a normal index op. This seems nonintuitive and could cause bugs for our users. We should change the implementation to call the proper ES API (and maybe move the existing code to a separate update method)

See:

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.