Struct tantivy::merge_policy::LogMergePolicy [] [src]

pub struct LogMergePolicy { /* fields omitted */ }

LogMergePolicy tries tries to merge segments that have a similar number of documents.

Methods

impl LogMergePolicy
[src]

[src]

Set the minimum number of segment that may be merge together.

[src]

Set the minimum segment size under which all segment belong to the same level.

[src]

Set the ratio between two consecutive levels.

Segment are group in levels according to their sizes. These levels are defined as intervals of exponentially growing sizes. level_log_size define the factor by which one should multiply the limit to reach a level, in order to get the limit to reach the following level.

Trait Implementations

impl Debug for LogMergePolicy
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for LogMergePolicy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl MergePolicy for LogMergePolicy
[src]

Important traits for Vec<u8>
[src]

Given the list of segment metas, returns the list of merge candidates. Read more

Important traits for Box<R>
[src]

Returns a boxed clone of the MergePolicy.

impl Default for LogMergePolicy
[src]

[src]

Returns the "default value" for a type. Read more