NuGet/NuGetGallery — pull request #566 by pranavkm (2012-08-09 17:20:17+00:00)
Title: * Ensure package version listing is correctly sorted

* Ensure only listed packages are returned from id and version queries
* Adding output caching to GetPackageId \ GetPackageVersions methods

Changing to Lucene does result in marginal perf improvements and it ensures that the package is listed. Some perf values from a local test I ran for a set of partial id searches:

Duration /w SQL Duration /w Index
01.1793795 00.8063084
00.7239398 00.6340201
00.6542008 00.6051849
00.6787548 00.6321741
01.0011494 00.6122411