- 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
ValueError
where 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
MissingArg
exception 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_threshold
toAggregate.cardinality
- Add
min_doc_count=1
toAggregate.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.size
to be more inline with Elasticsearch - Add
cache=False
toFilter.raw_string
andFilter.string
- Stupid bugfix
- Fix for timeout: append 's' on the end (changable via
time_type
kwarg)
- Add
Query.constant_score
- Add
ElasticQuery.filter
andElasticQuery.query
as options instead of using.must
,.should
&.must_not
- Add
ElasticQuery.timeout
- Tidy up
ElasticQuery.offset
andElasticQuery.limit
- Creates query structure on demand (empty query is now properly empty)
- Add
execution
to terms filter
- Remove field checking with
ElasticMapping
(incompatible with nested fields, needs rethink)
- Add
match
filter + query - Add
range
aggregation
- Add
reverse_nested
aggregation
- 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=[]