public class IncrementalMergePolicy extends Object
Modifier and Type | Field and Description |
---|---|
protected static List<Index> |
indices |
protected static List<Integer> |
merged |
Constructor and Description |
---|
IncrementalMergePolicy(IncrementalIndex index) |
Modifier and Type | Method and Description |
---|---|
static IncrementalMergePolicy |
get(String policy,
List<Index> indices,
IncrementalIndex index)
Create a new merge thread.
|
boolean |
mergeCheck()
Never merge.
|
boolean |
mergePolicy()
No merge.
|
void |
purgeMerged()
Delete indices which have been merged.
|
public IncrementalMergePolicy(IncrementalIndex index)
public static IncrementalMergePolicy get(String policy, List<Index> indices, IncrementalIndex index)
public void purgeMerged()
public boolean mergePolicy()
public boolean mergeCheck()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow