Permalink
Commits on Aug 24, 2012
  1. Fix django reqs file; add docs reqs file

    willkg committed Aug 24, 2012
    This should fix autodoc stuff on ReadTheDocs.
  2. Only need one fake settings file

    willkg committed Aug 24, 2012
  3. Expose version in elasticutils.__version__

    willkg committed Aug 24, 2012
    This also renames elasticutils.VERSION to elasticutils.PYES_VERSION
    to avoid convusion.
Commits on Aug 21, 2012
  1. Merge pull request #57 from jsocol/master

    willkg committed Aug 21, 2012
    Fix two small issues
  2. Ignore pycs and install all requirements.

    James Socol committed Aug 21, 2012
Commits on Aug 17, 2012
  1. Issue 51. Implement .demote()

    willkg committed Aug 6, 2012
    This implements boosting query support, though it does it by dealing
    with the positive and negative queries as two separate things.
Commits on Aug 6, 2012
Commits on Aug 2, 2012
  1. Add release process

    willkg committed Aug 2, 2012
    Mostly I'm adding this so I don't have to go figure it out again. Way
    easier to just document it and then it's documented for future
    maintainers.
  2. Change version to 0.5.dev

    willkg committed Aug 2, 2012
Commits on Jul 31, 2012
  1. Prepare for 0.4 release

    willkg committed Jul 31, 2012
  2. Change format_text to format_explanation

    willkg committed Jul 31, 2012
    Also fixes issues with it.
Commits on Jul 28, 2012
  1. Update CHANGELOG

    willkg committed Jul 28, 2012
  2. Issue 27, 50. Add query_string and text_phrase.

    willkg committed Jul 28, 2012
    * add support for query_string and text_phrase
    * adds documentation for both
    * adds handling for 'term' action
    * nixes documentation for startswith which is deprecated for prefix
      (though both work for now)
    * adds documentation for queries vs. filters
    * adds tests for the different query types
Commits on Jul 26, 2012
  1. Add ngrep to debugging chapter

    willkg committed Jul 26, 2012
    It's super handy when writing sample programs that fiddle with things.
  2. Add sample program for facets

    willkg committed Jul 26, 2012
Commits on Jul 25, 2012
  1. Fix facet_counts

    willkg committed Jul 25, 2012
    I intended to implement it like Django Haystack where it's a method
    on the S (or SQS in their case), but I implemented it as a property.
    
    This fixes the discrepancy.
  2. Fix docs on facet_counts

    willkg committed Jul 25, 2012
Commits on Jul 21, 2012
  1. Update CHANGELOG

    willkg committed Jul 21, 2012
  2. Issue 42. Implement highlight

    willkg committed Jul 19, 2012
    This is a first pass at implementing highlight and it implements
    all the bits I need for SUMO.
    
    However, there's a lot of other stuff you can do with highlight
    and the docs I wrote don't really cover everything like why
    pre/post_tags need to be lists, fragment lengths, .. So there's
    more to do, but that can be done under the auspices of a different
    issue..
Commits on Jul 19, 2012
  1. Update CHANGELOG

    willkg committed Jul 19, 2012
  2. Issue 28. Implement query-time field boosts

    willkg committed Jul 18, 2012
    This adds support for query-time field boosts. The docs cover how they
    work and get used.
    
    I also cleaned up _process_queries a little to make it less redundant
    and I fixed the test_query.py which was using a typed S and shouldn't
    have been.
Commits on Jul 5, 2012
  1. Issue 38. Explain support

    willkg committed Jul 3, 2012
    This adds support for 'explain' flag in searches, documentation, tests,
    and a function that formats the resulting explanation output so it's
    human-readable.
    
    The latter is kind of a nice-to-have, so I stuck it in utils.py. It's
    not documented, yet, because I figure it could use some work.
Commits on Jul 3, 2012
  1. Fix section on count/len in docs

    willkg committed Jul 3, 2012
    q.count() != len(q)
    
    Suggesting those are the same is wrogn!
  2. Add seealso sections to docs

    willkg committed Jul 3, 2012
    Adds links to the ES docs in relevant portions of the documentation.
  3. Issue 43. Reimplement facets

    willkg committed Jul 3, 2012
    This reworks facets so that the API is cleaner and easier to use. It
    now has a .facet() which acts as a shorthand but doesn't do things
    you might not expect and it has a .facet_raw() which yields unto
    you the full expressive power of the ES facet.
    
    This adds some more tests and documentation and updates the CHANGELOG,
    too.
Commits on Jul 2, 2012
  1. Tweak versions again

    willkg committed Jul 2, 2012
  2. Update version number

    willkg committed Jul 2, 2012
    Also added examples in the comments so it's easier to know the scheme.
  3. Fix list results

    willkg committed Jul 2, 2012
    If there was only one item in self.fields, then you'd end up with
    a flat list of things instead of a list of tuples. We want that
    to be consistent, though, so if we know we're in that situation, we
    fix it accordingly.
    
    This is a little awkward if you really want a flat list. Maybe we
    should make that easier in the future.
  4. Update MANIFEST

    willkg committed Jun 29, 2012
    Needed to update the requirements lines in MANIFEST. I changed it
    so that we shouldn't have to update it again even if we add more
    to it.
  5. Update docs

    willkg committed Jun 28, 2012
    * updates and clarifies a bunch of bits in the documentation.
    * updates the documentation in respects to typed S and untyped S
      and search results and all that.
    * went through and tested the facet code. This updates the facet
      documentation.
    * PEP-257 fixes
  6. Fix results; allow for untyped S; moar tests

    willkg committed Jun 28, 2012
    * changes "values" to "values_list" which is better
    * allows for untyped S, so you can do S() and get dict results
    * fixes edge cases with specifying fields (from SUMO branch)
    * adds a bunch of tests results-related functionality (most of
      the tests come from SUMO branch)
    * require type_ for elasticutils.contrib.django.S
Commits on Jun 28, 2012
  1. Fix requirements files

    willkg committed Jun 28, 2012