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

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

There is a newer version: 59
Show newest version
????3?>com/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterjava/lang/Objectjava/io/Closeable9com/groupbyinc/flux/common/apache/lucene/util/AccountableDocumentsWriter.javaRcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter$DeleteNewFilesEvent
DeleteNewFilesEventOcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter$FlushFailedEvent
FlushFailedEventOcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter$ForcedPurgeEventForcedPurgeEventPcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter$MergePendingEventMergePendingEventPcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter$ApplyDeletesEventApplyDeletesEvent@com/groupbyinc/flux/common/apache/lucene/index/IndexWriter$Event:com/groupbyinc/flux/common/apache/lucene/index/IndexWriterEventWcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadStateKcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool ThreadStateAcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$Builder#9com/groupbyinc/flux/common/apache/lucene/index/FieldInfos%BuilderVcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment(Gcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread*FlushedSegment[com/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue$SegmentFlushTicket-Hcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue/SegmentFlushTicketFcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$FieldNumbers2FieldNumbers
directoryOrig:Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;	directoryclosedZ
infoStream:Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;configFLcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;numDocsInRAM+Ljava/util/concurrent/atomic/AtomicInteger;deleteQueueKLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue;ticketQueueJLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue; pendingChangesInCurrentFullFlush
perThreadPoolMLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool;flushPolicy;currentFullFlushDelQueue$assertionsDisabled?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Lcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)V()VRT
U)java/util/concurrent/atomic/AtomicIntegerW(I)VRY
XZ>?	\Icom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue^
_U@A	a
0UBC	dPA	f56	h76	j<=	lDcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfign
getInfoStream<()Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;pq
or:;	tgetIndexerThreadPoolO()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool;vw
oxEF	zgetFlushPolicy>()Lcom/groupbyinc/flux/common/apache/lucene/index/FlushPolicy;|}
o~GH	?KL	?*java/util/concurrent/ConcurrentLinkedQueue?
?UMN	?Jcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushControl?bufferedUpdatesStreamFLcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream;??	??(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter;Lcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdatesStream;)VR?
??IJ	?this@Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter;
deleteQueries;([Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Zjava/io/IOException?	addDelete;([Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V??
_?
doOnDelete?T
??applyAllDeletesN(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue;)Z??
?queries8[Lcom/groupbyinc/flux/common/apache/lucene/search/Query;deleteTerms9([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Z9([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V??
_?terms6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term;updateDocValuesD([Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate;)ZaddDocValuesUpdatesD([Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate;)V??
_?updatesA[Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate;currentDeleteSessionM()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue;getAndResetApplyAllDeletes()Z??
??isFullFlush??
??
addDeletesN(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue;)V??
0?INSTANCEBLcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter$Event;??	?putEventE(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter$Event;)V??
?purgeBuffer@(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Z)I
forcePurge?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)I??
0?tryPurge??
0?forced
getNumDocs()Iget??
X?
ensureOpenEcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException?89	?this IndexWriter is closed?(Ljava/lang/String;)VR?
??abort?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)VQ9	?java/lang/Thread?	holdsLock(Ljava/lang/Object;)Z??
??java/lang/AssertionError?3IndexWriter lock should never be hold when aborting?(Ljava/lang/Object;)VR?
??clear?T
_?DW?8com/groupbyinc/flux/common/apache/lucene/util/InfoStream?	isEnabled(Ljava/lang/String;)Z??
???message'(Ljava/lang/String;Ljava/lang/String;)V
?getActiveThreadStateCount?
!getThreadState\(I)Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;	
!
lockT

abortThreadState\(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;)I
unlockT
java/lang/ThrowableabortPendingFlushesT
?waitForFlushT
?java/lang/StringBuilder
Udone abort success=!append-(Ljava/lang/String;)Ljava/lang/StringBuilder;#$
%(Z)Ljava/lang/StringBuilder;#'
(toString()Ljava/lang/String;*+
,	perThreadYLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;iIlimitsuccesslockAndAbortAll?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)JholdsFullFlushLock6?
7
?U4getMaxThreadStates;?
!<setAbort>T
!?!finished lockAndAbortAll success=AunlockAllAfterAbortAllC?
DindexWriterabortedDocCountJisHeldByCurrentThreadI?
J
isInitializedL?
MdwptILcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;OP	QgetNumDocsInRAMS?
+TsubtractFlushedNumDocsVY
W?T
+Y	doOnAbort\(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;)V[\
?]	unlockAll_
clearAbortaT
!b#unlockAll: could not unlock state: d(I)Ljava/lang/StringBuilder;#f
g msg:i
getMessagek+
leLjava/lang/Throwable;
anyChangesanyDeletionsq?
r
hasTicketst?
0uD9	wanyChanges? numDocsInRam=y	 deletes={ hasTickets:} pendingChangesInFullFlush: getBufferedDeleteTermsSizegetBufferedUpdatesTermsSize??
_?getNumBufferedDeleteTermsnumGlobalTermDeletes??
_?p?
_?close	setClosed?T
??	preUpdate@com/groupbyinc/flux/common/apache/lucene/index/AbortingException??T
?anyStalledThreads??
??numQueuedFlushes??
??TDocumentsWriter has queued dwpt; will hijack this thread to flush pending segment(s)?nextPendingFlushK()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;??
??doFlushL(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;)Z??
?4WARNING DocumentsWriter has stalled threads; waiting?
waitIfStalled?T
??Gcontinue indexing after helping out flushing DocumentsWriter is healthy?flushingDWPT	hasEvents
postUpdateM(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;Z)ZensureInitializedglobalFieldNumberMapHLcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$FieldNumbers;??	?K(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$FieldNumbers;)VR?
$?newSegmentName?+
?pendingNumDocs(Ljava/util/concurrent/atomic/AtomicLong;??	?enableTestPoints?9	??(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue;Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$Builder;Ljava/util/concurrent/atomic/AtomicLong;Z)VR?
+?infosCLcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$Builder;stateupdateDocuments?(Ljava/lang/Iterable;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Z??
?
obtainAndLock[()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;??
???\
??(Ljava/lang/Iterable;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)I??
+?	addAndGet(I)I??
X?java/lang/Iterable?:com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer?3com/groupbyinc/flux/common/apache/lucene/index/Term?doAfterDocument?(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;Z)Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;??
??release?\
!???
?aeBLcom/groupbyinc/flux/common/apache/lucene/index/AbortingException;dwptNumDocsisUpdatedocsmLjava/lang/Iterable<+Ljava/lang/Iterable<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;>;>;Ljava/lang/Iterable;analyzer;	+a
expected: ?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;#?
?	but was: ? addFlushTicket?(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;)Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue$SegmentFlushTicket;
0flushZ()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
+
addSegment?(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue$SegmentFlushTicket;Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;)V

0pendingFilesToDelete()Ljava/util/Set;
+
java/util/SetisEmpty?(Ljava/util/Collection;)VR
getSegmentInfo>()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfo;
+?(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfo;)VR
markTicketFailed`(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue$SegmentFlushTicket;)V!"
0#getTicketCount%?
0&	?doAfterFlushL(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;)V)*
?+	?getRAMBufferSizeMB()D./
o0??getDeleteBytesUsed()J45
?6A0@java/util/Locale<ROOTLjava/util/Locale;>?	=@:force apply deletes bytesUsed=%.1f MB vs ramBuffer=%.1f MBBjava/lang/DoubleDvalueOf(D)Ljava/lang/Double;FG
EHjava/lang/StringJformatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;LM
KN
newSegmentXLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;flushingDocsInRamdwptSuccessticket]Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue$SegmentFlushTicket;ramBufferSizeMBD
compareAndSet(II)ZXY
XZ
numFlushedoldValuesetFlushingDeleteQueuesessionflushAllThreadsstartFullFlusha
?markForFullFlushdT
?e^?
g
currentThread()Ljava/lang/Thread;ij
?kgetNamem+
?n#: flush naked frozen global deletespflushingDeleteQueueanythingFlushedfinishFullFlush@(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Z)V finishFullFlush success=vtT
?xabortFullFlusheszT
?{getIndexWriterConfigH()Lcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;java/util/Queueadd????eventramBytesUsed?5
??getChildResources()Ljava/util/Collection;java/util/Collections?	emptyList()Ljava/util/List;??
??
eventQueue()Ljava/util/Queue;java/lang/Class?desiredAssertionStatus??
??	SignatureCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTableLocalVariableTypeTable?(Ljava/lang/Iterable<+Ljava/lang/Iterable<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;>;>;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Z?(Ljava/lang/Iterable<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;>;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)ZU()Ljava/util/Collection;W()Ljava/util/Queue;
SourceFileInnerClasses05676B89:;<=>?@@ABCBD9EFGHIJKLMN?OBPAQ9"RS??u*?V*?XY?[?]*?_Y?`?b*?0Y?c?e*?g*-?i*?k*,?m*,?s?u*,?y?{*,???*+??*??Y????*??Y*,+????????4u??uKLu<=u56u76?>?lop&B+?0?6?;?C?K?S?X?c?t?????a*?bM,+??*????*,???? ????@A???
????????a*?bM,+??*????*,???? ????@A???
????????a*?bM,+??*????*,???? ????@A???
???????/*?b?????????}+*?????"+?*?????*?e+??*?Ʒ????+??+@A??
?? ?'?)?? ?????e?*?e+?Ь*?e+?Ӭ? ??KL?9???
??
?????2*?]?٬??????T?M*?ޙ
??Y?㿱?????????? ?????+??
??Y???=*?b??*?u????*?u??*?{?>6?2*?{?:?*?W??
:??????*???*???=*?u????Q*?u??Y? "?&?)?-??1:*?u???? *?u??Y? "?&?)?-???Y`hhjh??????>T./C501@H21????KL?39?Z??? ?,?8?@?I?T?Y?`?e?h?r?x???????????????\	? ?
?$?	??;?*? 45?'???+?8???Y?9?*?u????*?u?:?	A6*?b??*?{?=6*?{?@6?#*?{?:? *??aA????*?b??*???*???6 7*?u????!*?u??Y? B?&?)?-??*+?E?:
*?u????!*?u??Y? B?&?)?-??*+?E
?2??????H^./L'01B?21????FL/?GH2?39?j??!?-?/?2?9?B?I?S?^?c?m?s?z????????????????I	??&?D	??+
	??S??+?K???Y?9?+?N?0+?R?U=*?X+?R?Z>*??+?^?:*??+?^?*??+?^?2<<><? $G1S??S./?&	
$)02IQ?f C??Q???+?8???Y?9?*?u????*?u?`?*?{?==*?{?c>?\*?{?:?K???<:*?u????.*?u??Y? e?&?hj?&?m?&?-??????CZ]?>M
./_7no>^01????FL5h21?>! -"5#<$C&M'U(Z/]*_+k,?$?1??B8?p????*?]?ٚ*?s?*?e?v?
*?x??<*?u????T?P*?u??Y? z?&*?]?ٶh|?&*?s?)~?&*?e?v?)??&*?x?)?-??????(_p9?;(<8=?B?
"@?]???2*?b???????F???2*?b???????Kq??2*?b???????O?T??
*??*??????
???TUV????*??<*?????
*?????}*?u????*?u???*????YM?*,???eIh_iklrm|o?p?s???+!?(???????0**?b???=+?*+???=?*????N-?*-???=??*"?P0??0?P0?9?wxy{"|&}.??????\??
P+?R?K?$Y*??????M+?+Y*??*????*?i*?k*?m*?u*?b,*????*?????õR?? 9??P??P?/????O???O?????A?*??6*????:*??*?в??N???Y?9??R:?U6+,-??W*?]?Ud??W?+:*???^?Z?:	*?]?Ud??W	?-??6*????:
*?{??:*?{???*
??=FY?=FlYnl??????p[??6cOP=\?1?
?9??????????????9?./?#?P
?????V?????/?6?=?F?V?Y?[?d?i?l??????????????g?/?)???+?R@?????
???+????????@?*??6*????:*??*?в??N???Y?9??R:?U6+,-??*?]?Ud??W?+:*???^?Z?:	*?]?Ud??W	?-??6*????:
*?{??:*?{???*
??=EX?=EkXmk??????pZ??6bOP=[?1?
?9??????????????9?./?#?P
?????V?????/?6?=?E?U?X?Z?c?h?k??????????????g?/?(???+?R@?????
???+?????????
?=+?s=>:??Q*?g?J+??*?g????Y?Y? ??&*?g????&+?????&*?????)?-???*?e+?:+?U66+?	:*?e?
6*?X+???*?Y+????=?U*?Y+?? ??=?A:*?X+???*?Y+????=?*?Y+?? ??=?>?+?&*?e?$?:	??*?e?$	?*?e?'*?{??*?(??*??+?,?&*??+?,?:
*??+?,
?*????L????
*?-??*?m?192??i*???7?8k:o??S=**?b???F*?u????3*?u??AC?Y*???7?8o?ISY?IS?O?*?Ʒ??t?????a
H^^`^?\	zPQq?R1t?S9
i39
fTU?????P??9?qVW??0????
?
?a?k?q?t?z?????????????????????????
$0AH[^ks v!z"?(?)?+?,?-?.?2?6????^.?IX?$??+.?
+.?+."J?

?p+???VY??:*?]??=*?]d?[?*?]??=????*?]?ٜ??Y?9??? :??:\12]1?:;<!>9???"^???*+?g????_A?
FG`??S=*?u????*?u?b?*YL?**?c?x*?bM*???f??*,?h???Y?9?+çN+?-???*?g???Y?9???*?g*?b???Y?9?<*????YN?*-???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy