Package org.terrier.realtime.incremental
Class IncrementalMergeGeometric
- java.lang.Object
-
- org.terrier.realtime.incremental.IncrementalMergePolicy
-
- org.terrier.realtime.incremental.IncrementalMergeGeometric
-
- All Implemented Interfaces:
java.lang.Runnable
public class IncrementalMergeGeometric extends IncrementalMergePolicy implements java.lang.Runnable
Geometric merge implementation.- Since:
- 4.0
- Author:
- Richard McCreadie, Stuart Mackie
-
-
Field Summary
-
Fields inherited from class org.terrier.realtime.incremental.IncrementalMergePolicy
indices, merged
-
-
Constructor Summary
Constructors Constructor Description IncrementalMergeGeometric(IncrementalIndex index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
mergeCheck()
Is merging required?boolean
mergePolicy()
Is merging configured?void
run()
Merge flushed index partitions.-
Methods inherited from class org.terrier.realtime.incremental.IncrementalMergePolicy
get, purgeMerged
-
-
-
-
Constructor Detail
-
IncrementalMergeGeometric
public IncrementalMergeGeometric(IncrementalIndex index)
-
-
Method Detail
-
mergePolicy
public boolean mergePolicy()
Is merging configured?- Overrides:
mergePolicy
in classIncrementalMergePolicy
-
mergeCheck
public boolean mergeCheck()
Is merging required?- Overrides:
mergeCheck
in classIncrementalMergePolicy
-
run
public void run()
Merge flushed index partitions.- Specified by:
run
in interfacejava.lang.Runnable
-
-