commit e8328fd7c23ff2213488233fb3158428d3ec9664
Author: Steve McLellan <email address hidden>
Date: Tue Mar 1 15:28:30 2016 -0600
Escape slashes in query_strings
Slashes (/) in query strings are treated by Elasticsearch as delimiting
a regexp expression. This is confusing especially when operating on
swift object paths, and in general we feel that in general the confusion
caused by mismatched slashes isn't offset by the ability to use regexps.
If a user really needs to run a regexp they can use the query dsl; we
could also consider adding a flag later.
Reviewed: https:/ /review. openstack. org/286850 /git.openstack. org/cgit/ openstack/ python- searchlightclie nt/commit/ ?id=e8328fd7c23 ff2213488233fb3 158428d3ec9664
Committed: https:/
Submitter: Jenkins
Branch: master
commit e8328fd7c23ff22 13488233fb31584 28d3ec9664
Author: Steve McLellan <email address hidden>
Date: Tue Mar 1 15:28:30 2016 -0600
Escape slashes in query_strings
Slashes (/) in query strings are treated by Elasticsearch as delimiting
a regexp expression. This is confusing especially when operating on
swift object paths, and in general we feel that in general the confusion
caused by mismatched slashes isn't offset by the ability to use regexps.
If a user really needs to run a regexp they can use the query dsl; we
could also consider adding a flag later.
Change-Id: I892541820b077d 8eb08ae635a843d 8dc84a5f55a
Closes-Bug: #1551946