- Add Python 3 support
- Add support for all full text kwargs
- Full ES 2 DSL support
- Removed
Filter& ES 1 support - Exceptions renamed/reduced in favour of
ValueErrorwhere possible - 100% test coverage
- Add suggesters support with
ElasticQuery.Suggester - Move docs to rst based/move to ReadTheDocs (when they fix their shit)
- Format dates as isoformat when JSON encoding
- Capture where non-EQ types are passed incorrectly
- Raise a
MissingArgexception for missing fields
- Fix not filter(!)
- Add
Query.function_score - Add dsl support for lists of strings
- Large documentation update
- Fix bug with all aggregations
- Fix import in elasticquery
- Complete rewrite, see docs/v1_to_v2.md for breaking changes, summary:
- Full support for ES 1.5.2 queries, filters and aggregates
- Extensible DSL builder replaces manually handled methods
- Proper testing for each query/filter/aggregate and combined queries
- Add boost support to filtered query
- Add
precision_thresholdtoAggregate.cardinality
- Add
min_doc_count=1toAggregate.date_histogram
- Add support for
Aggregate.cardinality
- Add support for
Filter.multi_match
- Add support for
Filter.bool
- Add
Filter.fuzzy_like_this - Add
Filter.filtered
- Breaking change: rename
ElasticQuery.limit->ElasticQuery.sizeto be more inline with Elasticsearch - Add
cache=FalsetoFilter.raw_stringandFilter.string
- Stupid bugfix
- Fix for timeout: append 's' on the end (changable via
time_typekwarg)
- Add
Query.constant_score - Add
ElasticQuery.filterandElasticQuery.queryas options instead of using.must,.should&.must_not - Add
ElasticQuery.timeout - Tidy up
ElasticQuery.offsetandElasticQuery.limit - Creates query structure on demand (empty query is now properly empty)
- Add
executionto terms filter
- Remove field checking with
ElasticMapping(incompatible with nested fields, needs rethink)
- Add
matchfilter + query - Add
rangeaggregation
- Add
reverse_nestedaggregation
- Much improved method for creating sub-aggregates
- Convert datetimes -> isoformat in range
- Fix bug with field count on Aggregate
Major reshuffle.
- Can be passed ES client, index & doc_type to execute queries
- Supports working with
ElasticMapping - Add example, much improved docs
- Fix bug with
default=[]