All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.apache.lucene.index.TieredMergePolicy.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????42@com/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy:com/groupbyinc/flux/common/apache/lucene/index/MergePolicyTieredMergePolicy.javaKcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy$MergeScore
MergeScoreZcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy$SegmentByteSizeDescending	SegmentByteSizeDescendingBcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy$1Mcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$MergeSpecificationMergeSpecificationCcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$OneMergeOneMergeDEFAULT_NO_CFS_RATIOD????????maxMergeAtOnceImaxMergedSegmentBytesJmaxMergeAtOnceExplicitfloorSegmentBytessegsPerTierforceMergeDeletesPctAllowedreclaimDeletesWeight$assertionsDisabledZ()V???????(DJ)V#'
(	*@	.	0 	4@$	8	:@ 	>thisBLcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy;setMaxMergeAtOnceE(I)Lcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy;"java/lang/IllegalArgumentExceptionDjava/lang/StringBuilderF#$
GH maxMergeAtOnce must be > 1 (got Jappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;LM
GN(I)Ljava/lang/StringBuilder;LP
GQ)StoString()Ljava/lang/String;UV
GW(Ljava/lang/String;)V#Y
EZvgetMaxMergeAtOnce()IsetMaxMergeAtOnceExplicit(maxMergeAtOnceExplicit must be > 1 (got `getMaxMergeAtOnceExplicitsetMaxMergedSegmentMBE(D)Lcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy;$maxMergedSegmentMB must be >=0 (got e(D)Ljava/lang/StringBuilder;Lg
GhA0C?getMaxMergedSegmentMB()D@?setReclaimDeletesWeight)reclaimDeletesWeight must be >= 0.0 (got ugetReclaimDeletesWeightsetFloorSegmentMB"floorSegmentMB must be > 0.0 (got ygetFloorSegmentMBsetForceMergeDeletesPctAllowed@YIforceMergeDeletesPctAllowed must be between 0.0 and 100.0 inclusive (got getForceMergeDeletesPctAllowedsetSegmentsPerTier$segmentsPerTier must be >= 2.0 (got ?getSegmentsPerTiergetSegmentSizesc(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Ljava/util/Collection;)Ljava/util/Map;java/io/IOException?java/util/HashMap?
?Hjava/util/Collection?iterator()Ljava/util/Iterator;????
java/util/Map?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????@com/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo?size?(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)J??
?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????infoBLcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;writer;Ljava/util/Collection;sizeInBytescLjava/util/Map;Ljava/util/Map;
findMerges(Lcom/groupbyinc/flux/common/apache/lucene/index/MergeTrigger;Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$MergeSpecification;verbose?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)Z??
?findMerges: ?;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos??^
??	 segments?messageQ(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)V??
?:com/groupbyinc/flux/common/apache/lucene/index/IndexWriter?getMergingSegments()Ljava/util/Collection;??
??java/util/HashSet?
?Hjava/util/ArrayList?asList()Ljava/util/List;??
??(Ljava/util/Collection;)V#?
????
?T(Lcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy;Ljava/util/Map;)V#?

?java/util/Collections?sort)(Ljava/util/List;Ljava/util/Comparator;)V??
??java/util/List???;com/groupbyinc/flux/common/apache/lucene/index/MergeTrigger?get&(Ljava/lang/Object;)Ljava/lang/Object;????	longValue()J??
??contains(Ljava/lang/Object;)Z????
 [merging]??java/lang/String? [skip: too large]?
 [floored]  seg=	segStringV(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;)Ljava/lang/String;
? size=	java/util/LocaleROOTLjava/util/Locale;
	%.3fjava/lang/Objectjava/lang/Double(D)Ljava/lang/Double;?
formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
? MBjava/lang/Math min(JJ)J"#
!$??(I)Ljava/lang/Object;?'?(	floorSize(J)J*+
,ceil(D)D./
!0
?Hadd3??4  allowedSegmentCount=6
 vs count=8 (eligible count=:) tooBigCount=<!"	>java/lang/AssertionError@
AHscore?(Ljava/util/List;ZJLcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Ljava/util/Map;)Lcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy$MergeScore;CD
E  maybe=G((Ljava/lang/Iterable;)Ljava/lang/String;I
?J score=LgetScoreNo
O QgetExplanationSV
T
 tooLarge=V(Z)Ljava/lang/StringBuilder;LX
GY%.3f MB[
H(Ljava/util/List;)V#^
_H(Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$OneMerge;)V3a
bsegmentsLjava/util/List;de	f?4  add merge=i [max merge]kextraLjava/lang/String;segBytes
segCountLevelidxtotAfterMergeBytes	candidateTLjava/util/List;hitTooLargeMLcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy$MergeScore;startIdxmergeELcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$OneMerge;	bestScorebestbestTooLargebestMergeBytesmergingByteseligiblemaxMergeIsRunningmergeTrigger=Lcom/groupbyinc/flux/common/apache/lucene/index/MergeTrigger;=Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;merging
toBeMergedinfosSorted
totIndexBytesminSegmentBytestooBigCount	levelSize	bytesLeftallowedSegCountallowedSegCountIntspecOLcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$MergeSpecification;??
??????????pow(DD)D??
!?H(Lcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy;DDD)V#?

?skewtotBeforeMergeBytestotAfterMergeBytesFloored
mergeScorenonDelRatiofinalMergeScorefindForcedMerges?(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;ILjava/util/Map;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$MergeSpecification;!findForcedMerges maxSegmentCount=? infos=? segmentsToMerge=?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;L?
G?
??java/lang/Boolean?booleanValue??
??isMerged?(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)Z??
?already merged?	eligible=?forceMergeRunning=?subList(II)Ljava/util/List;????
add merge=?add final merge=?V
?
isOriginalLjava/lang/Boolean;
numToMergemaxSegmentCountsegmentsToMergefLjava/util/Map;forceMergeRunningsegmentIsOriginalendfindForcedDeletesMerges?(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$MergeSpecification;findForcedDeletesMerges infos=? forceMergeDeletesPctAllowed=?numDeletedDocsE(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;)I??
??desiredAssertionStatus"?
#
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions	Signature?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Ljava/util/Collection;)Ljava/util/Map;D(Ljava/util/List;ZJLcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Ljava/util/Map;)Lcom/groupbyinc/flux/common/apache/lucene/index/TieredMergePolicy$MergeScore;1(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;ILjava/util/Map;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)Lcom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$MergeSpecification;
SourceFileInnerClasses!	% !"#$&?:*%?)*
?+*,?/*?1*2?5*6?9*6?;*??Y??N,??:???%????:-*+??????W???-?'4&??>@A>??>??6??*>??6??(&9<)????++?,-??&/G*-???#*?GY?I??O,?ĶRƶO?X-??,?Ě?-??:??Y??:??Y,?ٷ?:*-,?ٷ?:?
Y*???	7%7
??:????????:

??????7*-????
??????:?*?/?`@gAjEmFyG?H?I?K?L?M?O?R?S?T?V?W?X?Y?[?\?]^	_afkl-m;nGo^pjqtlzu?w?x?{?|?????????????? ?>?L?]?j?m?p?z???????????"???C?G?K?O?U?Z?_?h?s?z?????????8?;?>?A?D?)1-(?F???????????A??+? ?O???6?????????????????????????$???????????<???
@?N???????????#"???????????K?????	????????????'???????????"????????????????????G??????????G??	??????????+?CD&&	?	7	7		7+??:

????
????:??????7	a7	*?-a7??a7????*?+?o9?"*+?)???????-??o99	????k9	??o9*????k99?
Y*???'?8o'-??d??@A?se?u"?~?????????r		???<??8??!???*?st???(J???	?'?8???J?T?W?[?g?????????????)>?
?????E????+?,.??&C:*???6*?GY?I??O?R??O+?K?O??O-???X?ʻ?Y?2:6??:6+??:		???G	????:
-
????:?&??6
???
?5W?6????&??*??:	??&?-?<?&?1?*+?)?????*???*?????
Y*	???*???9*?GY?I??O???X??*?GY?I??O?Z?X???&6
:
*?1`d?i??Y?]:?Y
*?1d
???`:*???&*?GY?I??O?g?K?O?X???c
*?1d6
????^?Y
d`6?Y
d
???`:
*???!*?GY?IöO
?ŶO?X?ʻY?]:
?c?'?{(??n5??
?<xy?N?7xy
:@A:??:?:??:??E?eH??"O???R??"?~??	a??
d???**:??E?tO????~??	(?-	<EH
ORn{????????"?$?%?&?')
,."/=0X3a5d8q9v:<?=?>?@?A?B?D?F?GH	I'K0L7O)Y




© 2015 - 2025 Weber Informatics LLC | Privacy Policy