Skip to content

Multi-Threading in IndexSearcher (after removal of MultiSearcher and ParallelMultiSearcher) [LUCENE-2840] #3914

@asfimport

Description

@asfimport

Spin-off from parent issue:

We should discuss about how many threads should be spawned. If you have an index with many segments, even small ones, I think only the larger segments should be separate threads, all others should be handled sequentially. So maybe add a maxThreads cound, then sort the IndexReaders by maxDoc and then only spawn maxThreads-1 threads for the bigger readers and then one additional thread for the rest?


Migrated from LUCENE-2840 by Uwe Schindler (@uschindler), updated May 09 2016
Parent: #3911

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions