Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 663 Bytes

2023-10-26-es-definition-buildtermquery-should-return-builderinterface.md

File metadata and controls

13 lines (13 loc) · 663 Bytes
title issue author author_email author_github
ES Definition buildTermQuery should return BuilderInterface
NEXT-30186
thuong.le
t.le@shopware.com
thuong.le

Core

  • Deprecated buildTermQuery method in \Shopware\Elasticsearch\Framework\AbstractElasticsearchDefinition class that will return BuilderInterface from next major version.

Next Major Version Changes

ES Definition's buildTermQuery could return BuilderInterface:

  • In 6.5 we only allow return BoolQuery from AbstractElasticsearchDefinition::buildTermQuery method which is not always the case. From next major version, we will allow return BuilderInterface from this method.