{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/codesearch/issues/14","labels_url":"https://api.github.com/repos/chrsmith/codesearch/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/codesearch/issues/14/comments","events_url":"https://api.github.com/repos/chrsmith/codesearch/issues/14/events","html_url":"https://github.com/chrsmith/codesearch/issues/14","id":58990580,"number":14,"title":"csearch: print statistics of -f fregexp hits if -verbose [PATCH]","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":1,"created_at":"2015-02-25T23:55:22Z","updated_at":"2015-02-25T23:55:23Z","closed_at":"2015-02-25T23:55:23Z","body":"```\ncsearch already prints the trigrams and number of files matched from the index \nif -verbose mode is on.\n\nThis patch preprocesses the list of fileids so we can print how many were \nmatched by the filename regex.\n\nIt does double the number of calls to ix.Name(fileid), but that call looks \ncheap and any slowdown would be dwarfed by the disk access during the grep \nstage anyway.\n```\n\n-----\nOriginal issue reported on code.google.com by `dgryski` on 17 Feb 2012 at 1:50\n\nAttachments:\n* [filename-regex-stats.patch](https://storage.googleapis.com/google-code-attachments/codesearch/issue-14/comment-0/filename-regex-stats.patch)\n"},"comment":{"url":"https://api.github.com/repos/chrsmith/codesearch/issues/comments/76088080","html_url":"https://github.com/chrsmith/codesearch/issues/14#issuecomment-76088080","issue_url":"https://api.github.com/repos/chrsmith/codesearch/issues/14","id":76088080,"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-25T23:55:23Z","updated_at":"2015-02-25T23:55:23Z","body":"```\nThis issue was closed by revision b346b86571f7.\n```\n\n-----\nOriginal comment by `dgryski` on 2 May 2012 at 8:12\n* Changed state: **Fixed**"}}