{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/codesearch/issues/16","labels_url":"https://api.github.com/repos/chrsmith/codesearch/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/codesearch/issues/16/comments","events_url":"https://api.github.com/repos/chrsmith/codesearch/issues/16/events","html_url":"https://github.com/chrsmith/codesearch/issues/16","id":58932866,"number":16,"title":"Adding more trigrams makes post query worse","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-25T16:57:05Z","updated_at":"2015-02-25T16:57:05Z","closed_at":"2015-02-25T16:57:05Z","body":"```\nbash$ csearch -i -verbose '%%0.*sprintf'\n2012/02/29 16:02:11 query: \"%%0\" \n(\"SPR\"|\"SPr\"|\"SpR\"|\"Spr\"|\"sPR\"|\"sPr\"|\"spR\"|\"spr\")|(\"\\xbfPR\" \"ſP\")|(\"\\xbfPr\" \n\"ſP\")|(\"\\xbfpR\" \"ſp\")|(\"\\xbfpr\" \"ſp\") \n(\"PRI\"|\"PRi\"|\"PrI\"|\"Pri\"|\"pRI\"|\"pRi\"|\"prI\"|\"pri\") \n(\"RIN\"|\"RIn\"|\"RiN\"|\"Rin\"|\"rIN\"|\"rIn\"|\"riN\"|\"rin\") \n(\"INT\"|\"INt\"|\"InT\"|\"Int\"|\"iNT\"|\"iNt\"|\"inT\"|\"int\") \n(\"NTF\"|\"NTf\"|\"NtF\"|\"Ntf\"|\"nTF\"|\"nTf\"|\"ntF\"|\"ntf\")\n2012/02/29 16:02:11 post query identified 3295 possible files\nbash$ csearch -i -verbose '%%0' >/dev/null\n2012/02/29 16:02:24 query: \"%%0\"\n2012/02/29 16:02:24 post query identified 9 possible files\n\nSince only 9 files match '%%0', I would expect no more than 9 possible files \nfrom the post query when adding '.*sprintf' to the query string.  It looks like \nsomething is ignoring the 'restrict' list somewhere.\n\nI'm still working on a minimal test case.  I'll look into this more tonight or \nso.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `dgryski` on 29 Feb 2012 at 3:10"},"comment":{"url":"https://api.github.com/repos/chrsmith/codesearch/issues/comments/76001165","html_url":"https://github.com/chrsmith/codesearch/issues/16#issuecomment-76001165","issue_url":"https://api.github.com/repos/chrsmith/codesearch/issues/16","id":76001165,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T16:57:05Z","updated_at":"2015-02-25T16:57:05Z","body":"```\nThis issue was closed by revision dbeef1612f35.\n```\n\n-----\nOriginal comment by `dgryski` on 2 May 2012 at 8:02\n* Changed state: **Fixed**"}}