Skip to content
Snippets Groups Projects
  • Simonas Šerlinskas's avatar
    48df0dcc
    Removing deprecated queries (#197) · 48df0dcc
    Simonas Šerlinskas authored
    * remove deprecated queries
    
    * move tests
    
    * added support for 5.x elasticsearch syntax
    
    changed script_score lang to painless
    
    * refactored tests to support elastic 5
    
    * update changelog
    
    * uri parameters was moved to container, introduced 5.0 new request body parameters
    
    * removed filter endpoint, change order for query and postfilter
    
    * search test has too many not necessary test cases
    
    All those tests has to be in specific query or endpoint. Also functional tests make more sense then asserting it in the SearchTest
    
    * moving elasticsearch/elasticsearch to required dependencies
    48df0dcc
    History
    Removing deprecated queries (#197)
    Simonas Šerlinskas authored
    * remove deprecated queries
    
    * move tests
    
    * added support for 5.x elasticsearch syntax
    
    changed script_score lang to painless
    
    * refactored tests to support elastic 5
    
    * update changelog
    
    * uri parameters was moved to container, introduced 5.0 new request body parameters
    
    * removed filter endpoint, change order for query and postfilter
    
    * search test has too many not necessary test cases
    
    All those tests has to be in specific query or endpoint. Also functional tests make more sense then asserting it in the SearchTest
    
    * moving elasticsearch/elasticsearch to required dependencies
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

CHANGELOG

v5.0.0 (2017-x)

  • [BC break] Removed deprecated aggregation classes.
  • [BC break] Removed deprecated query classes.
  • [BC break] Search::getQueryParams() changed to Search::getUriParams().
  • [BC break] FilterEndpoint was removed due deprecated filters.

v2.2.1 (2017-01-26)

  • Fixed function score for 2.x elastic.
  • Fixed bug in nested and reverse nested aggregations. (#173)
  • Fixed bool query key assign for some OS to avoid duplication.

v2.2.0 (2016-11.11)

  • Added support for elasticsearch 5.0
  • Added functional tests to test library on elasticsearch 2.4 and 5.0

v2.1.2 (2016-09-22)

  • Added check if BoolQuery has requested type queries #159
  • Added FilterAggregation getter #157

v2.1.1 (2016-09-16)

  • Minor stability fixes

v2.1.0 (2016-09-07)

  • Aggregations were moved to its type namespace to avoid duplications. Old ones deprecated and will be removed in 3.0
  • Added all pipeline aggregations
  • Added inner hits support
  • Added suggest endpoint
  • Added new queries like Span Containing, Template and others

v2.0.2 (2016-07-11)

  • Fixed function score query #122
  • Added missing options array process in some functions
  • Added date histogram aggregation
  • Added significant terms aggregation

v2.0.1 (2016-05-03)

  • Fixed FiltersAggregation generates invalid array #91

v1.1.3 (2016-04-17)

  • Fixed parameters handling in BoolQuery query

v2.0.0 (2016-03-03)

  • [BC break] Aggregation name is not prefixed anymore
  • [BC break] Removed all filters and filtered query
  • [BC break] Query's toArray() now returns array WITH query type
  • [Feature] Added TermSuggest and Suggest endpoint

v1.1.2 (2016-02-01)

  • Deprecated FuzzyLikeThisQuery and FuzzyLikeThisFieldQuery queries

v1.1.1 (2016-01-26)

  • Fixed query endpoint normalization when called repeatedly #56
  • Deprecated DslTypeAwareTrait and FilterOrQueryDetectionTrait traits

v1.1.0 (2015-12-28)

  • Fixed nested query in case bool with single must clause given #32
  • Deprecated all filters and filtered query #50
  • Added filter clause support for BoolQuery #48

v1.0.1 (2015-12-16)

  • Fixed function_score query options handling #35
  • Added Symfony 3 compatibility
  • Added support for timeout and terminate_after options in Search endpoint #34

v1.0.0 (2015-09-14)