{"id":31070,"date":"2020-12-17T16:43:22","date_gmt":"2020-12-17T21:43:22","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=31070"},"modified":"2020-12-17T16:43:22","modified_gmt":"2020-12-17T21:43:22","slug":"pruning-githubs-code-search-index","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/12\/17\/pruning-githubs-code-search-index\/","title":{"rendered":"Pruning GitHub&rsquo;s Code Search Index"},"content":{"rendered":"<p><a href=\"https:\/\/github.blog\/changelog\/2020-12-17-changes-to-code-search-indexing\/\">GitHub<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=25458421\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/github.blog\/changelog\/2020-12-17-changes-to-code-search-indexing\/\"><p>Starting today, GitHub Code Search will only index repositories that have had recent activity within the last year. Recent activity for a repository means that it has had a commit or has shown up in a search result. If the repository does not have any activity for an entire year, the repository will be purged from the Code Search index.<\/p><\/blockquote>\n\n<p>That seems much less useful. I would rather have a comprehensive seach, even if it&rsquo;s slower.<\/p>","protected":false},"excerpt":{"rendered":"<p>GitHub (Hacker News): Starting today, GitHub Code Search will only index repositories that have had recent activity within the last year. Recent activity for a repository means that it has had a commit or has shown up in a search result. If the repository does not have any activity for an entire year, the repository [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-12-17T21:43:25Z","apple_news_api_id":"09bb1ac8-bfd3-4db7-b5c0-4b7a3574c87d","apple_news_api_modified_at":"2020-12-17T21:43:25Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/ACbsayL_TTbe1wEt6NXTIfQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[524,71,343,96],"class_list":["post-31070","post","type-post","status-publish","format-standard","hentry","category-technology","tag-github","tag-programming","tag-search","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=31070"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31070\/revisions"}],"predecessor-version":[{"id":31071,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31070\/revisions\/31071"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=31070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=31070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=31070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}