Skip to content

IndexWriter should also warm flushed segments [LUCENE-2485] #3559

@asfimport

Description

@asfimport

Spinoff of #3387.

You can now set a mergedSegmentWarmer on IW, which warms only newly merged segments.

But for consistency maybe we should change this to warm all new segments (ie, also flushed ones). We should rename it to something "setSegmentWarmer".

Really, the reader pool should be pulled out of IndexWriter, be externally provided, and be responsible for doing warming of new segments.


Migrated from LUCENE-2485 by Michael McCandless (@mikemccand), updated May 09 2016

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