Looking for ElasticSearch client developers & integration test suites


(Nick Zadrozny) #1

Hi all,

I'm in the process of building a hosted ElasticSearch service, to be
available first as a Heroku addon, and eventually for other platforms as
well.

One of the last things I'm working on before we launch for real is to
gather and run a bunch of test suites against our systems. I want to make
sure we're solidly compatible with as wide a range of clients and use cases
as possible.

So if you've built an ElasticSearch client, or have any kind of
ElasticSearch integration test suite laying around, I'd love to add that to
my collection.

Lately I've been developing against Tire's integration tests, which has
been helpful. I've also collected a few other projects that I've found
hosted on GitHub, particularly those that are set up to run on Travis CI.
That said, I'm mostly a Ruby guy, so I may have some questions for the
authors or contributors: notably, how to configure the test suite to run
against an arbitrary URL.

So if you're an ElasticSearch client author — or really any ES user —
interested in making sure we're maximally compatible with their client of
choice, I'd love to borrow a few minutes of your time to get up to speed
with your tests.

Also, if you have any questions about our service — particularly if you're
using us in beta already — feel free to ask! Happy to talk shop about what
we're up to. (Maybe you're wondering why I need all these tests?)

--
Nick Zadrozny

Cofounder, One More Cloud

websolr.com https://websolr.com/homebonsai.io http://bonsai.io/home

Hassle-free hosted full-text search,
powered by Apache Solr and ElasticSearch.

--


(Raffaele Sena) #2

Hi Nick,

I have worked with Tire on a couple of projects (and it is right now
my favorite client library).

I have also used a PHP client for a very basic search application
(didn't want to do a full rails installation so I wanted something I
could use with just Apache running): http://netflix.aromatic.com/

Also, I recently did this [ https://github.com/raff/elseql ] in python
(I am forced to work in python these days and I found a quick and
dirty SQL parser).

The main reason for a "SQL-like" command line client is to run reports
on data I have stored only in ElasticSearch. And I was tired to write
a ruby/tire app every time I had to do a slightly different query :slight_smile:

-- Raffaele

On Wed, Sep 26, 2012 at 2:57 PM, Nick Zadrozny nick@onemorecloud.com wrote:

Hi all,

I'm in the process of building a hosted ElasticSearch service, to be
available first as a Heroku addon, and eventually for other platforms as
well.

One of the last things I'm working on before we launch for real is to gather
and run a bunch of test suites against our systems. I want to make sure
we're solidly compatible with as wide a range of clients and use cases as
possible.

So if you've built an ElasticSearch client, or have any kind of
ElasticSearch integration test suite laying around, I'd love to add that to
my collection.

Lately I've been developing against Tire's integration tests, which has been
helpful. I've also collected a few other projects that I've found hosted on
GitHub, particularly those that are set up to run on Travis CI. That said,
I'm mostly a Ruby guy, so I may have some questions for the authors or
contributors: notably, how to configure the test suite to run against an
arbitrary URL.

So if you're an ElasticSearch client author — or really any ES user —
interested in making sure we're maximally compatible with their client of
choice, I'd love to borrow a few minutes of your time to get up to speed
with your tests.

Also, if you have any questions about our service — particularly if you're
using us in beta already — feel free to ask! Happy to talk shop about what
we're up to. (Maybe you're wondering why I need all these tests?)

--
Nick Zadrozny

Cofounder, One More Cloud

websolr.com • bonsai.io

Hassle-free hosted full-text search,
powered by Apache Solr and ElasticSearch.

--

--


(Michael Klishin) #3

2012/9/27 Nick Zadrozny nick@onemorecloud.com

So if you're an ElasticSearch client author — or really any ES user —
interested in making sure we're maximally compatible with their client of
choice, I'd love to borrow a few minutes of your time to get up to speed
with your tests.

Nick,

I am the author of Elastisch (http://clojureelasticsearch.info).

To run our test suite against a URL:

  1. Make sure you have JDK installed (6 or 7, Oracle, OpenJDK or Apple, they
    all will work equally well)
  2. Install Leiningen: http://leiningen.org/#install
  3. Export ELASTICSEARCH_URL
  4. Follow instructions in the README:
    https://github.com/clojurewerkz/elastisch#development

It will download all dependencies and run tests 3 times (against 3 Clojure
versions), each taking ~35 seconds on a pretty dated machine.

Note that ELASTICSEARCH_URL will only be used in master. If your service
will be primarily available
to heroku users, it may be a good idea for us to backport this to 1.0.x.

HTH,

MK


http://twitter.com/michaelklishin

--


(Nick Zadrozny) #4

Thanks, Michael! All that was very helpful.

On Wed, Sep 26, 2012 at 4:03 PM, Michael Klishin <
michael.s.klishin@gmail.com> wrote:

Note that ELASTICSEARCH_URL will only be used in master. If your service
will be primarily available
to heroku users, it may be a good idea for us to backport this to 1.0.x.

Environment variable support is an interesting one. Heroku addons must
prefix their environment variables with their uppercased addon name, so
nobody will be setting an ELASTICSEARCH_URL variable. At least, for now.

That puts the onus on setup documentation to show the user how to set the
URL from whatever environment variable we do supply. So backporting may or
may not be necessary, depending on how straightforward it is for the user
to fetch the URL from some other environment variable in their app.

I see that Elastisch has its own mailing list, so maybe I'll follow up with
you there if I have more questions about that…

--
Nick Zadrozny

Cofounder, One More Cloud

websolr.com https://websolr.com/home • bonsai.io http://bonsai.io/home

Hassle-free hosted full-text search,
powered by Apache Solr and ElasticSearch.

--


(Dan Fairs) #5

Hi Nick,

So if you're an ElasticSearch client author — or really any ES user — interested in making sure we're maximally compatible with their client of choice, I'd love to borrow a few minutes of your time to get up to speed with your tests.

The Python library pyes has a test suite you could use:

https://github.com/aparo/pyes

I'd also be happy to run our application's fairly extensive test suite against your hosted platform. Is there any way that could be arranged? Note that some of our tests require a native script - happy to provide the jar if that's something that can be arranged. If not, well, those integration tests will fail, but the rest of the suite should pass!

Cheers,
Dan

Dan Fairs | dan.fairs@gmail.com | @danfairs | secondsync.com

--


(system) #6