We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1043611 commit 9350b6aCopy full SHA for 9350b6a
src/IndexRotator.php
@@ -191,6 +191,7 @@ public function getSecondaryIndexes(\DateTime $olderThan = null)
191
// This section is to support deprecated feature set for ES 1.x.
192
// It may be removed in future versions of this library when ES 1.x is sufficiently unsupported.
193
if (!$this->doesSupportCombinedQueryFilter()) {
194
+ $this->logger->notice('Using deprecated query format due to elasticsearch version <= 1.x.');
195
unset($params['body']['query']['bool']['filter']);
196
$params['body']['filter']['range']['timestamp']['lt'] = $olderThan->format('U');
197
}
0 commit comments