Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 22, 2015
  1. Erik Rose

    Remove ``encode_body`` param from ``send_request()``.

    erikrose authored
    Now all dicts are JSON-encoded, and all strings are left alone.
  2. Erik Rose
  3. Erik Rose

    Make ElasticSearch._transport private. I don't want to give the impre…

    erikrose authored
    …ssion that you should go poking around at it.
  4. Erik Rose

    Remove tests for ES < 1.0.

    erikrose authored
    We don't support old versions anymore because it would make our elasticsearch-py dependency hard to manage: they don't support both pre- and post-1.0 in any one version.
    
    Also fix test_multi_get_simple, which would pass no matter what.
    
    The remaining 3 test failures are due to ES API changes that outrun us. We can fix them on master.
  5. Erik Rose

    Wrap to use our original exception hierarchy.

    erikrose authored
    Also remove a test of InvalidJsonResponseError, which is no more.
    
    Add a dummy URL in es_kwarg_tests so ElasticSearch will construct without blowing up.
Commits on Jan 21, 2015
  1. Erik Rose

    Restore _to_query(). It turns out stringification remains our respons…

    erikrose authored
    …ibility for now.
    
    test_index now passes.
    
    (I haven't looked to see whether elasticsearch-py's is as good as ours.)
  2. Erik Rose
  3. Erik Rose
  4. Erik Rose

    Merge test fixes which get us passing all but 3 for 0.90 through 1.3.…

    erikrose authored
    … Close #158.
    
    The failures are because the relevant ElasticSearch client methods are broken with Elasticsearch 1.0+. Those are covered in other issues.
  5. Erik Rose

    Switch to elasticsearch-py's transport layer. Ref #135, #109. Bump ve…

    erikrose authored
    …rsion to 0.8.0.
    
    This loses ES < 1.0 compat and makes indexing crazy faster. We're not supporting any transports but HTTP at the moment, as they don't thrill me. (Thrift might get you a 15% boost but only if you have lots of small requests.)
Commits on Jan 7, 2015
  1. Will Kahn-Greene

    Fix tests to pass with ES 0.90 through ES 1.3.4

    willkg authored
    This fixes the tests to pass with Elasticsearch 0.90 through
    Elasticsearch 1.3.4.
    
    Some of the fixes use eq_one_of which allows us to run multiple test
    conditions and as long as one of them passes, we're fine. This allows us
    to handle the change in HTTP responses from Elasticsearch between 0.90
    and 1.0+.
Commits on Jan 6, 2015
  1. Will Kahn-Greene

    Fix problem with fluctuating scores in tests

    willkg authored
    The tests were such that they only passed on a specific version of
    Elasticsearch because they compared against specific scores in the
    results.
    
    Since we don't actually care about what the scores are, we do this
    sleight-of-hand with WHATEVER which happily compares positively with
    everything.
    
    This fixes the tests so everything passes in Elasticsearch 0.90.10.
    
    Fixes #107
  2. Will Kahn-Greene

    Fix tests balking on create_index

    willkg authored
    After we call create_index, we need to wait a smidge for the index to be
    ready before we turn around and close it. This prevents
    IndexPrimaryShardNotAllocatedException errors.
Commits on Dec 18, 2014
  1. Erik Rose
Commits on Dec 9, 2014
  1. Detonavomek

    Fix delete query error in elasticsearch

    Detonavomek authored
    Change elasticsearch API to query delete in last versions.
    
    Old format:
    { 
       "query_string" : { 
            "query" : "some_query"     
       } 
    } 
    
    New format(after version 1.2.0 or early):
    { 
       "query" : { //added 
        "query_string" : { 
             "query" : "some_query"     
        } 
        } 
    }
Commits on Aug 14, 2014
  1. Erik Rose

    Tolerate errors that are non-strings. Close #116.

    erikrose authored
    Commit message from original patch author konradkonrad:
    
    The code from _raise_exception expected a string here, which e.g.
    for FetchPhaseExecutionException is not the case and yields an
    "AttributeError: 'dict' object has no attribute 'startswith'".
    
    In such a case the exact error_messages would be in response body in
    [shard['reason'] for shard in response_body['_shards']['failures']].
    
    This checks for a string and just returns the whole response_body
    otherwise, so the elasticsearch exception becomes visible to the
    user.
Commits on Aug 12, 2014
  1. Erik Rose
  2. Erik Rose
  3. Erik Rose

    Bring readme up to date.

    erikrose authored
  4. Erik Rose
  5. Erik Rose

    Rename ``aliases()`` to ``get_aliases()`` for consistency with other …

    erikrose authored
    …methods. Add an ``alias`` kwarg.
Commits on May 21, 2014
  1. Erik Rose

    Adapt to use elasticsearch-py's transport layer. (Address is hard-cod…

    erikrose authored
    …ed in. Dead code is still hanging out.)
  2. Erik Rose
  3. Erik Rose
  4. Erik Rose

    Pop id when bulk indexing.

    erikrose authored
  5. Erik Rose
Commits on Nov 1, 2013
  1. Erik Rose
Commits on Oct 26, 2013
  1. Erik Rose

    Merge pull request #138 from Natim/patch-1

    erikrose authored
    Allow requests 2.0. Tests still pass.
Commits on Oct 16, 2013
  1. Rémy HUBSCHER

    requests 2.0 is still compatible

    Natim authored
Commits on Sep 20, 2013
  1. j0hnsmith
Commits on Sep 16, 2013
  1. Jannis Leidel

    Merge pull request #130 from rboulton/patch-1

    jezdez authored
    Missed quote in example
  2. Richard Boulton

    Missed quote in example

    rboulton authored
Commits on Aug 21, 2013
  1. Erik Rose

    Merge pull request #102 from brainbot-com/pytest-support

    erikrose authored
    make py.test find test files
  2. Erik Rose

    Merge pull request #125 from robhudson/percolate-cleanup

    erikrose authored
    Cleanup _percolate index so it isn't left behind from tests.
Commits on Aug 15, 2013
  1. Rob Hudson
Something went wrong with that request. Please try again.