org.xcmis.search.lucene.index.merge
Class MaxCandidatsCountAggrigatePolicy

java.lang.Object
  extended by org.xcmis.search.lucene.index.merge.InheritanceAggregationPolicy
      extended by org.xcmis.search.lucene.index.merge.MaxCandidatsCountAggrigatePolicy
All Implemented Interfaces:
AggregatePolicy

public class MaxCandidatsCountAggrigatePolicy
extends InheritanceAggregationPolicy

Created by The eXo Platform SAS.

Version:
$Id: MaxCandidatsCountAggrigatePolicy.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Sergey Kabashnyuk

Field Summary
static int DEFAULT_MAX_CHAINS_COUNT
          Maximum number of chains.
 
Constructor Summary
MaxCandidatsCountAggrigatePolicy(AggregatePolicy superAggregatePolicy)
           
 
Method Summary
 Collection<LuceneIndexDataManager> findIndexDataManagerToAggrigate(Collection<LuceneIndexDataManager> aggregateCandidat, long requiredCandidatCount, long reguiredTotalCandidatSize)
           
 
Methods inherited from class org.xcmis.search.lucene.index.merge.InheritanceAggregationPolicy
findIndexDataManagerToOptimize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_CHAINS_COUNT

public static final int DEFAULT_MAX_CHAINS_COUNT
Maximum number of chains.

See Also:
Constant Field Values
Constructor Detail

MaxCandidatsCountAggrigatePolicy

public MaxCandidatsCountAggrigatePolicy(AggregatePolicy superAggregatePolicy)
Method Detail

findIndexDataManagerToAggrigate

public Collection<LuceneIndexDataManager> findIndexDataManagerToAggrigate(Collection<LuceneIndexDataManager> aggregateCandidat,
                                                                          long requiredCandidatCount,
                                                                          long reguiredTotalCandidatSize)
Specified by:
findIndexDataManagerToAggrigate in interface AggregatePolicy
Overrides:
findIndexDataManagerToAggrigate in class InheritanceAggregationPolicy


Copyright © 2010 eXo Platform SAS. All Rights Reserved.