{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5734","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5734/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5734/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5734/events","html_url":"https://github.com/elastic/kibana/issues/5734","id":123004958,"number":5734,"title":"Searching for saved objects with dashes shows no results","user":{"login":"gena01","id":312125,"avatar_url":"https://avatars.githubusercontent.com/u/312125?v=3","gravatar_id":"","url":"https://api.github.com/users/gena01","html_url":"https://github.com/gena01","followers_url":"https://api.github.com/users/gena01/followers","following_url":"https://api.github.com/users/gena01/following{/other_user}","gists_url":"https://api.github.com/users/gena01/gists{/gist_id}","starred_url":"https://api.github.com/users/gena01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gena01/subscriptions","organizations_url":"https://api.github.com/users/gena01/orgs","repos_url":"https://api.github.com/users/gena01/repos","events_url":"https://api.github.com/users/gena01/events{/privacy}","received_events_url":"https://api.github.com/users/gena01/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/bug","name":"bug","color":"ff0000"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v5.0.0","name":"v5.0.0","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T18:44:56Z","updated_at":"2015-12-25T07:05:16Z","closed_at":null,"body":"While trying to search for either saved queries/visualizations/dashboards that contain dashes comes up blank if you start typing a name and right after typing in a dash. I tried using backslash and putting the search in double quotes (doesn't seem to make a difference).\r\n\r\nI am using Kibana 4.1.3"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/167202940","html_url":"https://github.com/elastic/kibana/issues/5734#issuecomment-167202940","issue_url":"https://api.github.com/repos/elastic/kibana/issues/5734","id":167202940,"user":{"login":"wwsean08","id":839261,"avatar_url":"https://avatars.githubusercontent.com/u/839261?v=3","gravatar_id":"","url":"https://api.github.com/users/wwsean08","html_url":"https://github.com/wwsean08","followers_url":"https://api.github.com/users/wwsean08/followers","following_url":"https://api.github.com/users/wwsean08/following{/other_user}","gists_url":"https://api.github.com/users/wwsean08/gists{/gist_id}","starred_url":"https://api.github.com/users/wwsean08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwsean08/subscriptions","organizations_url":"https://api.github.com/users/wwsean08/orgs","repos_url":"https://api.github.com/users/wwsean08/repos","events_url":"https://api.github.com/users/wwsean08/events{/privacy}","received_events_url":"https://api.github.com/users/wwsean08/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T07:05:16Z","updated_at":"2015-12-25T07:05:16Z","body":"I was able to work around this while trying to figure out what was going on (though the workaround didn't make sense).  I created a visualization called foo-bar-baz and was able to find it a couple of ways:\r\n1. The search in double quotes worked for me (though I was using the development version)\r\n2. I could kind of somewhat escape it though it made no sense, if I did foo-\\bar-\\ (the \\ seems to be making stuff works) \r\n\r\nThis likely happens because - is a reserved character in the elasticsearch query.  One possible solution would be to under the hood wrap the query with quotes if it contains any keywords but I could imagine that causing other issues for searches."}}