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 4.0. Copyright © 2004-2014 University of Glasgow