searchlight-ui - 'filtered' query as well as 'and' and 'or' removed from ES 5.x

Bug #1658179 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
Fix Released
Medium
Steve McLellan

Bug Description

See https://bugs.launchpad.net/searchlight/+bug/1655396

The 'filtered', 'and' and 'or' queries are not present in Elasticsearch 5 (all replaced with the 'bool' query - see https://www.elastic.co/guide/en/elasticsearch/reference/5.x/query-dsl-filtered-query.html

There are several places these queries are used in searchlight-ui.

Steve McLellan (sjmc7)
tags: added: searchlight-ui
Changed in searchlight:
milestone: none → ocata-3
Steve McLellan (sjmc7)
Changed in searchlight:
assignee: nobody → Steve McLellan (sjmc7)
milestone: ocata-3 → ocata-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to searchlight-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/427827

Changed in searchlight:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight-ui (master)

Reviewed: https://review.openstack.org/427827
Committed: https://git.openstack.org/cgit/openstack/searchlight-ui/commit/?id=457eaf42a5f4d036469d2e893dfdf8dd6035ce58
Submitter: Jenkins
Branch: master

commit 457eaf42a5f4d036469d2e893dfdf8dd6035ce58
Author: Steve McLellan <email address hidden>
Date: Wed Feb 1 11:34:29 2017 -0600

    Replace 'filtered' queries with 'bool'

    Elasticsearch 5 doesn't support the 'filtered' query type, nor the
    'or' type. Both have been rolled up into 'bool'.

    See
    https://www.elastic.co/guide/en/elasticsearch/reference/5.1/query-dsl-filtered-query.html

    Change-Id: Ie5183ff37c30db8e67318480bda5b14c9495abe1
    Closes-Bug: #1658179

Changed in searchlight:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/searchlight-ui 2.0.0.0rc1

This issue was fixed in the openstack/searchlight-ui 2.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.