Skip to content

consider reusing IndexSearcher objects #1132

Closed
@vladak

Description

@vladak

In issue #1116 there was a suggestion to find out if the initial part of searchMultiDatabase() where FSDirectory.open is called and MultiReader is instantiated could be called just once / after each reindex. For webapp, the place for potential modification is SearchHelper#prepareExec().

If this is doable, this should speed up multi-project searches with high number of projects significantly (assuming file system cache is warmed up).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions