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

com.groupbyinc.flux.index.engine.Engine.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3p'com/groupbyinc/flux/index/engine/Enginejava/lang/Objectjava/io/CloseableEngine.java0com/groupbyinc/flux/index/engine/Engine$CommitIdCommitId1com/groupbyinc/flux/index/engine/Engine$GetResult	GetResult+com/groupbyinc/flux/index/engine/Engine$GetGet5com/groupbyinc/flux/index/engine/Engine$DeleteByQuery
DeleteByQuery.com/groupbyinc/flux/index/engine/Engine$DeleteDelete-com/groupbyinc/flux/index/engine/Engine$IndexIndex.com/groupbyinc/flux/index/engine/Engine$CreateCreate9com/groupbyinc/flux/index/engine/Engine$IndexingOperationIndexingOperation1com/groupbyinc/flux/index/engine/Engine$Operation 	Operation0com/groupbyinc/flux/index/engine/Engine$Searcher#Searchercom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion4.com/groupbyinc/flux/common/lucene/uid/Versions6DocIdAndVersion:java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock91java/util/concurrent/locks/ReentrantReadWriteLock;ReadLock;java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock>	WriteLockSYNC_COMMIT_IDLjava/lang/String;sync_idCshardId)Lcom/groupbyinc/flux/index/shard/ShardId;logger-Lcom/groupbyinc/flux/common/logging/ESLogger;engineConfig/Lcom/groupbyinc/flux/index/engine/EngineConfig;store'Lcom/groupbyinc/flux/index/store/Store;isClosed+Ljava/util/concurrent/atomic/AtomicBoolean;failedEngineListener>Lcom/groupbyinc/flux/index/engine/Engine$FailedEngineListener;deletionPolicyALcom/groupbyinc/flux/index/deletionpolicy/SnapshotDeletionPolicy;failEngineLock*Ljava/util/concurrent/locks/ReentrantLock;rwl3Ljava/util/concurrent/locks/ReentrantReadWriteLock;readLock;Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock;	writeLockfailedEngineLjava/lang/Throwable;$assertionsDisabledZ2(Lcom/groupbyinc/flux/index/engine/EngineConfig;)V()V^`
a)java/util/concurrent/atomic/AtomicBooleanc(Z)V^e
dfMN	h(java/util/concurrent/locks/ReentrantLockj
kaST	m
<aUV	p9com/groupbyinc/flux/common/util/concurrent/ReleasableLockr>()Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;Wt
<u$(Ljava/util/concurrent/locks/Lock;)V^w
sxWX	z?()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;Y|
<}YX	Z[	?-com/groupbyinc/flux/index/engine/EngineConfig?getStore)()Lcom/groupbyinc/flux/index/store/Store;??
??$Store must be provided to the engine?;com/groupbyinc/flux/common/google/common/base/Preconditions?checkNotNull8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??
??getDeletionPolicyC()Lcom/groupbyinc/flux/index/deletionpolicy/SnapshotDeletionPolicy;??
??7Snapshot deletion policy must be provided to the engine?IJ	?
getShardId+()Lcom/groupbyinc/flux/index/shard/ShardId;??
??EF	?KL	?getIndexSettings0()Lcom/groupbyinc/flux/common/settings/Settings;??
??java/lang/String?*com/groupbyinc/flux/common/logging/Loggers?	getLogger?(Ljava/lang/Class;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/shard/ShardId;[Ljava/lang/String;)Lcom/groupbyinc/flux/common/logging/ESLogger;??
??GH	?getFailedEngineListener@()Lcom/groupbyinc/flux/index/engine/Engine$FailedEngineListener;??
??OP	?QR	?this)Lcom/groupbyinc/flux/index/engine/Engine;guardedRamBytesUsed>(Lcom/groupbyinc/flux/common/apache/lucene/util/Accountable;)J9com/groupbyinc/flux/common/apache/lucene/util/Accountable?ramBytesUsed()J????a;Lcom/groupbyinc/flux/common/apache/lucene/util/Accountable;
segmentReader{(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentReader;(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)ZgetSegmentInfoD()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;??
??@com/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo?info;Ljava/util/Map;newSearcher?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;)Lcom/groupbyinc/flux/index/engine/Engine$Searcher;/com/groupbyinc/flux/index/engine/EngineSearcher'?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;Lcom/groupbyinc/flux/index/store/Store;Lcom/groupbyinc/flux/common/logging/ESLogger;)V^)
(*searcher?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;managerALcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;config1()Lcom/groupbyinc/flux/index/engine/EngineConfig;getLastCommittedSegmentInfos?()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;
getMergeStats.()Lcom/groupbyinc/flux/index/merge/MergeStats;*com/groupbyinc/flux/index/merge/MergeStats6
7acreate3(Lcom/groupbyinc/flux/index/engine/Engine$Create;)V0com/groupbyinc/flux/index/engine/EngineException;index2(Lcom/groupbyinc/flux/index/engine/Engine$Index;)Zdelete3(Lcom/groupbyinc/flux/index/engine/Engine$Delete;)V:(Lcom/groupbyinc/flux/index/engine/Engine$DeleteByQuery;)VLjava/lang/Deprecated;	syncFlush?(Ljava/lang/String;Lcom/groupbyinc/flux/index/engine/Engine$CommitId;)Lcom/groupbyinc/flux/index/engine/Engine$SyncedFlushResult;getFromSearcherb(Lcom/groupbyinc/flux/index/engine/Engine$Get;)Lcom/groupbyinc/flux/index/engine/Engine$GetResult;java/lang/ThrowableGacquireSearcherF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/engine/Engine$Searcher;JK
L>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;?N
$Ouid7()Lcom/groupbyinc/flux/common/apache/lucene/index/Term;QR
SloadDocIdAndVersion?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion;UV
7W+com/groupbyinc/flux/common/lease/ReleasableY,com/groupbyinc/flux/common/lease/Releasables[closeWhileHandlingException1([Lcom/groupbyinc/flux/common/lease/Releasable;)V]^
\_Couldn't resolve versionaS(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Ljava/lang/Throwable;)V^c
<dversionType)()Lcom/groupbyinc/flux/index/VersionType;fg
hversionJjk	5lj?
n%com/groupbyinc/flux/index/VersionTypepisVersionConflictForReads(JJ)Zrs
qtclosev^
\w3com/groupbyinc/flux/common/apache/lucene/index/Termytext{?
z|$com/groupbyinc/flux/index/mapper/Uid~	createUid:(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/Uid;??
??com/groupbyinc/flux/index/engine/VersionConflictEngineException?type??
?id??
?R(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Ljava/lang/String;JJ)V^?
??u(Lcom/groupbyinc/flux/index/engine/Engine$Searcher;Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion;)V^?
?
NOT_EXISTS3Lcom/groupbyinc/flux/index/engine/Engine$GetResult;??	?docIdAndVersion@Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion;e&Lcom/groupbyinc/flux/index/mapper/Uid;-Lcom/groupbyinc/flux/index/engine/Engine$Get;2Lcom/groupbyinc/flux/index/engine/Engine$Searcher;G(Ljava/lang/String;Z)Lcom/groupbyinc/flux/index/engine/Engine$Searcher;J?
?6com/groupbyinc/flux/index/engine/EngineClosedException?%com/groupbyinc/flux/index/store/Store?incRef?`
??getSearcherManagerC()Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;??
??com/groupbyinc/flux/common/apache/lucene/search/SearcherManager?acquire()Ljava/lang/Object;??
??=com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher?%&
?01
?getWrappingServiceA()Lcom/groupbyinc/flux/index/engine/IndexSearcherWrappingService;??
??=com/groupbyinc/flux/index/engine/IndexSearcherWrappingService?wrap?(Lcom/groupbyinc/flux/index/engine/EngineConfig;Lcom/groupbyinc/flux/index/engine/Engine$Searcher;)Lcom/groupbyinc/flux/index/engine/Engine$Searcher;??
??release?
??decRef?`
??
ensureOpen?`
?%failed to acquire searcher, source {}?+com/groupbyinc/flux/common/logging/ESLogger?error=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????#failed to acquire searcher, source ?retValwrappedSearcherex8Lcom/groupbyinc/flux/index/engine/EngineClosedException;	maybeWrapsuccessgetTranslog/()Lcom/groupbyinc/flux/index/translog/Translog;()Z?
d?A(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/Throwable;)V^?
??commitStats0()Lcom/groupbyinc/flux/index/engine/CommitStats;,com/groupbyinc/flux/index/engine/CommitStats?23
?@(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;)V^?
??readLastCommittedSegmentInfos?(Lcom/groupbyinc/flux/common/apache/lucene/search/SearcherManager;Lcom/groupbyinc/flux/index/store/Store;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;java/io/IOException?getIndexReader?N
??>com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader?getIndexCommit>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;??
??(com/groupbyinc/flux/common/lucene/Lucene?readSegmentInfos{(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;??
??readLastCommittedSegmentsInfo?3
??
addSuppressed(Ljava/lang/Throwable;)V
?latestCommit
??addTermVectorsMemoryInBytesA3
BgetNormsReaderA()Lcom/groupbyinc/flux/common/apache/lucene/codecs/NormsProducer;DE
?FaddNormsMemoryInBytesH3
IgetDocValuesReaderE()Lcom/groupbyinc/flux/common/apache/lucene/codecs/DocValuesProducer;KL
?MaddDocValuesMemoryInBytesO3
PwriterSegmentStats3(Lcom/groupbyinc/flux/index/engine/SegmentsStats;)VRS
Tv`
$V
H>Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentReader;BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;stats0Lcom/groupbyinc/flux/index/engine/SegmentsStats;addVersionMapMemoryInBytes]3
^addIndexWriterMemoryInBytes`3
aaddIndexWriterMaxMemoryInBytesc3
dindexWriterRAMBytesUsedk(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Z)[Lcom/groupbyinc/flux/index/engine/Segment;java/util/HashMaph
iasegmentsknamemB	?ncontainsKeyp?q
a(com/groupbyinc/flux/index/engine/Segmentt
u?searchw]	ux9com/groupbyinc/flux/common/apache/lucene/index/LeafReaderznumDocs()I|}
{~docCountI??	u?numDeletedDocs?}
{?delDocCount??	u?
getVersion9()Lcom/groupbyinc/flux/common/apache/lucene/util/Version;??
??7Lcom/groupbyinc/flux/common/apache/lucene/util/Version;j?	u?getUseCompoundFile??
??java/lang/Boolean?valueOf(Z)Ljava/lang/Boolean;??
??compoundLjava/lang/Boolean;??	u?sizeInBytes??
???k	u?;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos?failed to get size for [{}]?trace????
memoryInBytes?k	u?root?:com/groupbyinc/flux/common/apache/lucene/util/Accountables?namedAccountable?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/Accountable;)Lcom/groupbyinc/flux/common/apache/lucene/util/Accountable;??
??ramTree??	u?put????
?	committed?]	u?maxDoc?}
??getDelCount?}
??values()Ljava/util/Collection;????java/util/Collection?size?}??toArray(([Ljava/lang/Object;)[Ljava/lang/Object;????+[Lcom/groupbyinc/flux/index/engine/Segment;?,(Lcom/groupbyinc/flux/index/engine/Engine;)V^?
3?sort,([Ljava/lang/Object;Ljava/util/Comparator;)V??

?BLcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;segment*Lcom/groupbyinc/flux/index/engine/Segment;infos=Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;lastCommittedSegmentInfosverboseMLjava/util/Map;segmentsArr(Z)Ljava/util/List;
refreshNeeded	tryIncRef??
??isSearcherCurrent??
??!failed to access searcher manager?
failEngine*(Ljava/lang/String;Ljava/lang/Throwable;)V??
?refresh6(ZZ)Lcom/groupbyinc/flux/index/engine/Engine$CommitId;4()Lcom/groupbyinc/flux/index/engine/Engine$CommitId;
forceMerge(ZIZZZ)V??
?
snapshotIndexA(Z)Lcom/groupbyinc/flux/index/deletionpolicy/SnapshotIndexCommit;%Lcom/groupbyinc/flux/common/Nullable;tryLock??
k?engine failed on: [?closeNoLock?
Atried to fail engine but engine is already failed. ignoring. [{}]debug??failed engine [{}]	warn??isCorruptionException(Ljava/lang/Throwable;)Z
?failed engine (reason: [])$com/groupbyinc/flux/ExceptionsHelperunwrapCorruption,(Ljava/lang/Throwable;)Ljava/io/IOException;
^?
?markStoreCorrupted(Ljava/io/IOException;)V
? Couldn't mark store corrupted"onFailedEngine$c'%failEngine threw exception'Utried to fail engine but could not acquire lock - engine should be failed by now [{}])treasonfailuremaybeFailEngine*(Ljava/lang/String;Ljava/lang/Throwable;)Zcorrupt file (source: [0isOOM2
3out of memory (source: [5wrapIfClosed,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
flushAndClose?com/groupbyinc/flux/index/engine/FlushNotAllowedEngineException:#flushAndClose now acquire writeLock<((Ljava/lang/String;[Ljava/lang/Object;)V?>??=()Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock;?A
sB$flushAndClose now acquired writeLockDIflushing shard on close - this might take some time to sync files to diskF>?H?
J1flush not allowed during flushAndClose - skippingL.engine already closed - skipping flushAndCloseN
V
sVALcom/groupbyinc/flux/index/engine/FlushNotAllowedEngineException;lockclose now acquiring writeLockTclose acquired writeLockVapiXhasUncommittedChangesonSettingsChangedjava/lang/Class]desiredAssertionStatus_?
^`
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions
DeprecatedRuntimeVisibleAnnotations	Signature?(Z)Ljava/util/List;"RuntimeVisibleParameterAnnotations
SourceFileInnerClasses!ABbDEFGHIJKLMNOPQRSTUVWXYXDZ[\]+^_c?*?b*?dY?g?i*?kY?l?n*?h<?@h<?Ah<ijBCDh<EFch	?*I?MM,?P+?T?XN?!:?ZY,S?`?????$59KVb????f?$H?5?J
h<Fh<JKc;*+???d???Beh<J?cl?>*????*??:????:*+??:?*????*?????:>:?
???
*?????:	?
??	?:?:*??*????Y+S???T?^3d4n7p8s9u:y;?<?>??f?
?;???$A$?$$
????H?
???H???DH}H??Hh<???`cV*?i?ݙ??Y*??*???࿱d??eH
IKf??c6??Y*???d??eO??c5E*????M,?????N-??:*,???N+??:*,???:-??:*,???!?"(0?;!(;0=;d>2	"?E/EKL=,-e.VXYc!Z"](c0^2_8`;cf>?!???????????
???Hh?	
c	?*??*??LM?Y?N+?P??:??b?!?#:?&??:-
?'?+-?/?1?5-?9?1?<-?@?1?C-?G?1?J-?N?1?Q???*-?U-:+?,?+?W?:,?X?+?W?N-M-?:+?,?+?W?:,?X?+?W????H??H?????H???d4EF?Y;P?Z?[\
?,????eFklmn;oEpOq[rgsstu?v?w?x?y?l?yfi
?%$H?h?$HH
?$HHDH?$HHH
RScP+	?_+	?b+	?e?d??[\e~
??f??gcd0*?ȻiY?jN*l??:?P??:????!?#:?&?ζ?:??-???o?r??Y?s??uY???o?v:?y?&????&???????????????????????":	*???	?Y???oS???&??:		?'????	????-???o??W???W?
:
?W
?+??+:??:????!??:-???o??u:???uY???o?v:?y?????????ĵ????????????????????":	*???	?Y???oS??-???o??W?	????;-??-?????u????:?3Y*?ָ??????""$"????d???	H???x????,?Y	;??Z??	c???P???3???0??0??0?]$k$,? ??g$k?e?/????;?H?g?x?~???????????????????????????"?,?0?3?P?c?h?y????????????????????????? ?-?f??%?$?A#??Z	??$#?u??$????$GH	?
???	??$??u???k?kl??c?Y*????P*?????<*?????L*???+???*?+????\??+[????,B?-[e?%
.5J6Q R"g${)?+?.?,?-?0?1???6? ?"$$)++W.Z,\-n0?6?7?2?4?6?7?6?9?;f`?R]??HHx?QH?%H]??HHHx??IH[Hm	?./c?R,??$*??Y??1??+???ٶ?,???,?4?$*??Y??6??+???ٶ?,????d R??R?BR+[e?@&A(B/CNDPFf('78c~0*?i?ݙ'+*???*???+*???X??Y*??+??+?d0??0+[eK
LM!O.Qf!???9`c??*?i?ݚ?*??=??@*???CLM*??E??@*??G??I*?KW?(N*??M??I?N*??O??I*?P?:*?P?+?F,?+?Q?;N,-?X?2+?Q?+N-M-?:+?,?+?Q?:,?X?+?Q??	DIL;DI`?4qxxzx???H$??H$?????H???d*M?Ra??"?SX???eNa
bc$d4fDhImLiMj]m`kalqoupxo?q?c?q?sfP
?LsH;S?FHNHFHDH?sHHH
?h?v`cF?*?i?ݚ{*??U??I*???CLM*??W??I*Y?+?F,?+?Q?;N,-?X?2+?Q?+N-M-?:+?,?+?Q?:,?X?+?Q??CGJH$;ZH$;_impHZa_d"`SX???e&	w
xy$z4{;|Zy_|?~fA?JsHHFHDH?sHHH
?h?Z?[`c+?d??e?\`c4?a????eTf@no?	
	
					!"	$%	'(	*+@-.013578	:<=	?<@	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy