{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1112","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1112/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1112/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1112/events","html_url":"https://github.com/NuGet/Home/issues/1112","id":99080840,"number":1112,"title":"many nugets are currently showing \"This package has not been indexed yet\"","user":{"login":"SimonCropp","id":122666,"avatar_url":"https://avatars.githubusercontent.com/u/122666?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonCropp","html_url":"https://github.com/SimonCropp","followers_url":"https://api.github.com/users/SimonCropp/followers","following_url":"https://api.github.com/users/SimonCropp/following{/other_user}","gists_url":"https://api.github.com/users/SimonCropp/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonCropp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonCropp/subscriptions","organizations_url":"https://api.github.com/users/SimonCropp/orgs","repos_url":"https://api.github.com/users/SimonCropp/repos","events_url":"https://api.github.com/users/SimonCropp/events{/privacy}","received_events_url":"https://api.github.com/users/SimonCropp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bhuvak","id":2625465,"avatar_url":"https://avatars.githubusercontent.com/u/2625465?v=3","gravatar_id":"","url":"https://api.github.com/users/bhuvak","html_url":"https://github.com/bhuvak","followers_url":"https://api.github.com/users/bhuvak/followers","following_url":"https://api.github.com/users/bhuvak/following{/other_user}","gists_url":"https://api.github.com/users/bhuvak/gists{/gist_id}","starred_url":"https://api.github.com/users/bhuvak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhuvak/subscriptions","organizations_url":"https://api.github.com/users/bhuvak/orgs","repos_url":"https://api.github.com/users/bhuvak/repos","events_url":"https://api.github.com/users/bhuvak/events{/privacy}","received_events_url":"https://api.github.com/users/bhuvak/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-04T23:05:04Z","updated_at":"2015-08-06T01:30:32Z","closed_at":null,"body":"even though they were deployed a long time ago\r\n\r\nhttps://www.nuget.org/packages/EntityFramework/5.0.0\r\nhttps://www.nuget.org/packages/Fody/1.29.0\r\nhttps://www.nuget.org/packages/Newtonsoft.Json/3.5.8\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/128201774","html_url":"https://github.com/NuGet/Home/issues/1112#issuecomment-128201774","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1112","id":128201774,"user":{"login":"johnataylor","id":2523898,"avatar_url":"https://avatars.githubusercontent.com/u/2523898?v=3","gravatar_id":"","url":"https://api.github.com/users/johnataylor","html_url":"https://github.com/johnataylor","followers_url":"https://api.github.com/users/johnataylor/followers","following_url":"https://api.github.com/users/johnataylor/following{/other_user}","gists_url":"https://api.github.com/users/johnataylor/gists{/gist_id}","starred_url":"https://api.github.com/users/johnataylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnataylor/subscriptions","organizations_url":"https://api.github.com/users/johnataylor/orgs","repos_url":"https://api.github.com/users/johnataylor/repos","events_url":"https://api.github.com/users/johnataylor/events{/privacy}","received_events_url":"https://api.github.com/users/johnataylor/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T01:30:32Z","updated_at":"2015-08-06T01:30:32Z","body":"I think the “not indexed yet” banner is giving us some false negatives. i.e. its saying that packages are not yet indexed when in fact they are.\r\n\r\nThe fix is in this code I think: (PackagesController.cs l.304)\r\n\r\n            if (_searchService.ContainsAllVersions)\r\n            {\r\n                var isIndexedCacheKey = string.Format(\"IsIndexed_{0}_{1}\", package.PackageRegistration.Id, package.Version);\r\n                var isIndexed = HttpContext.Cache.Get(isIndexedCacheKey) as bool?;\r\n                if (!isIndexed.HasValue)\r\n                {\r\n                    var searchFilter = SearchAdaptor.GetSearchFilter(\r\n                            \"id:\\\"\" + package.PackageRegistration.Id + \"\\\" AND version:\\\"\" + package.Version + \"\\\"\",\r\n                            1, null, SearchFilter.ODataSearchContext);\r\n                    var results = await _searchService.RawSearch(searchFilter);\r\n\r\nThat is to say you are building a raw Lucene query and need to say that. This also avoids the filtering logic too I think.\r\n\r\nAnyhow, without this many packages (everything but the latest?) are appearing as “not indexed” when in fact they are."}}