Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

V3 search and autocomplete throw NullReferenceException on index swap #23

Merged
merged 1 commit into from Jun 4, 2015

Conversation

maartenba
Copy link
Contributor

This PR fixes NuGet/NuGetGallery#2520:

  • Adds support for SearcherManager-specific IndexSearcher implementation
  • Updates NuGetSearcherManager to use a NuGetIndexSearcher
  • Adds all lookups and auxiliary data that is specific to the loaded index on NuGetIndexSearcher instead of NuGetSearcherManager
  • Removes a lock while loading auxiliary data (can now be safely done as it is part of the NuGetIndexSearcher)
  • Reduces memory usage for auxiliary data (e.g. versions by document lookup) as it no longer stores all data for bot http and https scheme

@bhuvak @johnataylor @xavierdecoster Can you review code changes?

@maartenba maartenba self-assigned this Jun 4, 2015
@johnataylor
Copy link
Member

:shipit:

bhuvak added a commit that referenced this pull request Jun 4, 2015
V3 search and autocomplete throw NullReferenceException on index swap
@bhuvak bhuvak merged commit d9a828c into master Jun 4, 2015
@xavierdecoster xavierdecoster deleted the issue-2520 branch January 5, 2016 09:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants