Missing 'sort' parameter
Bug #1478177 reported by
Steve McLellan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
Fix Released
|
Critical
|
Steve McLellan |
Bug Description
I thought this was present but i can't find mention in the source or docs. We need to add support for sorting; elasticsearch's format should be fine. https:/
"sort": ["name", {"_score": "desc"}, {"something": {"order": "asc"}}]
Changed in searchlight: | |
importance: | Undecided → Critical |
assignee: | nobody → Steve McLellan (sjmc7) |
Changed in searchlight: | |
status: | New → In Progress |
Changed in searchlight: | |
milestone: | none → liberty-rc1 |
Changed in searchlight: | |
status: | Fix Committed → Fix Released |
Changed in searchlight: | |
milestone: | liberty-rc1 → 0.1.0.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/206268 /git.openstack. org/cgit/ openstack/ searchlight/ commit/ ?id=798cd32a63e 625e25370715880 7ea28bbe3e3bef
Committed: https:/
Submitter: Jenkins
Branch: master
commit 798cd32a63e625e 253707158807ea2 8bbe3e3bef
Author: Steve McLellan <email address hidden>
Date: Mon Jul 27 19:08:27 2015 -0500
Add 'sort' parameter
Somehow we left sorting out! Adds support for 'sort', which can either
be:
* a string scalar
* a dict (name: order)
* a list of the above
The 'sort' parameter is added to the Elasticsearch query.
Change-Id: I14bd6ab4a65569 becc998aa257a06 532fc363ef4
Closes-Bug: #1478177