Commits on Jan 8, 2013
  1. @willkg
  2. @willkg
  3. @erikrose
  4. @erikrose
  5. @willkg

    Nix the 'mlt_fields' from es_kwargs

    This field doesn't need to be in both the es_kwargs and the method
    arguments so nix it from es_kwargs.
    willkg committed Jan 8, 2013
  6. @willkg

    Fix more_like_this re: fields

    ElasticSearch wants "mlt_fields", but more_like_this was sending "fields".
    This fixes that and adds a test.
    
    I tested it with ElasticSearch 0.17.9 and 0.19.11.
    willkg committed Jan 8, 2013
Commits on Dec 23, 2012
  1. @erikrose

    Revert "1.0" version numbers to 0.3, and polish for release.

    All that remains is to stamp a date on the changelog.
    
    We still need to talk about one or two API changes before 1.0, but this release fixes some important bugs.
    erikrose committed Dec 23, 2012
Commits on Dec 19, 2012
  1. @erikrose
Commits on Dec 17, 2012
  1. @erikrose

    `index` and `doc_types` are kwargs on index() and count() because the…

    …y are indeed optional. Fixes #43.
    
    Omitting them causes all available ones to be searched.
    erikrose committed Dec 17, 2012
  2. @erikrose
  3. @erikrose

    Bring changelog up to date.

    erikrose committed Dec 17, 2012
  4. @erikrose
Commits on Dec 16, 2012
  1. @erikrose

    JSON-encode sets as lists. Closes #28.

    Tested tuple-encoding while I was at it. It worked.
    erikrose committed Dec 15, 2012
Commits on Dec 14, 2012
  1. @erikrose

    Stick the Vs back in front of the version numbers in the changelog.

    Apparently this lets Sphinx make nicer named anchors to them. Leading numbers make it resort to "#id1", "#id2", etc.
    erikrose committed Dec 14, 2012
  2. @erikrose
  3. @erikrose

    Rephrase the curly log message a tad to dodge the "holy cow, you're c…

    …alling through to curl?" mails.
    erikrose committed Dec 14, 2012
  4. @willkg

    Change debug log to use curl syntax

    Tweaked the logging so that it uses curl syntax when logging the ES
    request. This has the fancy advantage of letting you copy and paste
    the curl line and execute it on its own to debug issues.
    willkg committed Dec 13, 2012
  5. @erikrose
  6. @erikrose
  7. @erikrose
  8. @willkg

    Make _send_request "public"

    This is cosmetic, but it changes _send_request to send_request which
    has the implication that it's "part of the API" now.
    
    The use case for this is that I'm creating a CurlyElasticSearch class
    that wraps the send_request method and logs the ES requests in a
    "curl-ified" way making it really easy to debug problems by copy
    and pasting the curl lines.
    willkg committed Dec 13, 2012
Commits on Dec 13, 2012
  1. @erikrose

    Bump version to 1.0.

    We're about ready to commit to API stability.
    erikrose committed Dec 13, 2012
  2. @erikrose
  3. @erikrose

    Make explicit our undeclared dependency on simplejson. Fixes #35 again.

    If requests.compat spit back the stdlib json, tests wouldn't pass.
    erikrose committed Dec 13, 2012
  4. @erikrose

    Merge pull request #40 from robertour/patch-1

    avoiding a NoneType error in method.__doc__
    erikrose committed Dec 12, 2012
  5. @erikrose
  6. @erikrose
Commits on Dec 12, 2012
  1. @erikrose

    Merge pull request #41 from willkg/docs-fix

    Fix search docs
    erikrose committed Dec 12, 2012
  2. @willkg

    Fix search docs

    It takes `index` and `doc_types` as kwargs--not regular args. So this
    fixes the docs accordingly.
    willkg committed Dec 12, 2012
  3. @erikrose
  4. @erikrose
Commits on Dec 10, 2012
  1. @robertour

    avoiding a NoneType error in method.__doc__

    This error just happen in our testing server, not in our local machine. The only difference is that the server uses nginx/uwsgi.
    
    It seems method.__doc__ could come empty. and I get this error.
    
    
    Exception Value: argument of type 'NoneType' is not iterable
    Exception Location:	.../local/lib/python2.7/site-packages/pyelasticsearch/client.py in _add_es_kwarg_docs, line 36
    robertour committed Dec 10, 2012
Commits on Nov 15, 2012
  1. @jasisz
Commits on Nov 8, 2012
  1. @jezdez

    Merge pull request #32 from erikrose/unneeded-encodings

    Remove an unneeded encoding declaration.
    jezdez committed Nov 8, 2012
  2. @jezdez

    Merge pull request #34 from erikrose/requests-version

    Bump requests version requirement so it actually works. Fixes #30.
    jezdez committed Nov 8, 2012