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

????4?>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$ApplyDeletesEventApplyDeletesEventRcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter$ResolveUpdatesEventResolveUpdatesEvent@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;	lastSeqNoJcurrentFullFlushDelQueue$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TV
W)java/util/concurrent/atomic/AtomicIntegerY(I)VT[
Z\>?	^
0WBC	aRA	c56	e76	g<=	iDcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfigk
getInfoStream<()Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;mn
lo:;	qIcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueues=(Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;)VTu
tv@A	xgetIndexerThreadPoolO()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool;z{
l|EF	~getFlushPolicy>()Lcom/groupbyinc/flux/common/apache/lucene/index/FlushPolicy;??
l?GH	?KL	?*java/util/concurrent/ConcurrentLinkedQueue?
?W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T?
??IJ	?this@Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter;
deleteQueries;([Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Jjava/io/IOException?	addDelete??
t?
doOnDelete?V
??PQ	?java/lang/Math?max(JJ)J??
??applyAllDeletesN(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue;)Z??
?queries8[Lcom/groupbyinc/flux/common/apache/lucene/search/Query;seqNosetLastSeqNo(J)VdeleteTerms9([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)J??
t?terms6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term;updateDocValuesD([Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate;)JaddDocValuesUpdates??
t?updatesA[Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate;currentDeleteSessionM()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue;getAndResetApplyAllDeletes()Z??
??
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??
Z?
ensureOpenEcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException?89	?this IndexWriter is closed?(Ljava/lang/String;)VT?
??abort?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)VS9	?java/lang/Thread?	holdsLock(Ljava/lang/Object;)Z??
??java/lang/AssertionError?3IndexWriter lock should never be hold when aborting?(Ljava/lang/Object;)VT?
??clear?V
t?DW8com/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V
abortThreadState\(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;)I
unlockV
java/lang/ThrowableabortPendingFlushes!V
?"waitForFlush$V
?%java/lang/StringBuilder'
(Wdone abort success=*append-(Ljava/lang/String;)Ljava/lang/StringBuilder;,-
(.(Z)Ljava/lang/StringBuilder;,0
(1toString()Ljava/lang/String;34
(5	perThreadYLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;iIlimitsuccesslockAndAbortAll?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;)JholdsFullFlushLock??
@
?W=getMaxThreadStatesD?
!EsetAbortGV
!HskipSequenceNumbersJ?
tK!finished lockAndAbortAll success=MunlockAllAfterAbortAllO?
PindexWriterabortedDocCountisHeldByCurrentThreadT?
U
isInitializedW?
XdwptILcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;Z[	\getNumDocsInRAM^?
+_subtractFlushedNumDocsa[
b?V
+d	doOnAbort\(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;)Vfg
?h	unlockAllj
clearAbortlV
!m#unlockAll: could not unlock state: o(I)Ljava/lang/StringBuilder;,q
(r msg:t
getMessagev4
 weLjava/lang/Throwable;getMaxCompletedSequenceNumber()J	?value
anyChangesanyDeletions??
?
hasTickets??
0?D9	?anyChanges? numDocsInRam=?	 deletes=? hasTickets:? pendingChangesInFullFlush: ?getBufferedDeleteTermsSizegetBufferedUpdatesTermsSize??
t?getNumBufferedDeleteTermsnumGlobalTermDeletes??
t??
t?close	setClosed?V
??	preUpdate@com/groupbyinc/flux/common/apache/lucene/index/AbortingException??V
?anyStalledThreads??
??numQueuedFlushes??
??nextPendingFlushK()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;??
??doFlushL(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;)Z??
?
waitIfStalled?V
??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T?
$?newSegmentName?4
?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T?
+?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;)J??
?
obtainAndLock[()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;??
???g
???
+?	addAndGet(I)I??
Z?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;??
??seqNo=?(J)Ljava/lang/StringBuilder;,?
(? lastSeqNo=?release?g
!???
?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;	+x
expected: -(Ljava/lang/Object;)Ljava/lang/StringBuilder;,	
(
	but was:  isFullFlush?
?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
0pendingFilesToDelete()Ljava/util/Set; 
+!
java/util/Set#isEmpty%?$&(Ljava/util/Collection;)VT(
)getSegmentInfo>()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfo;+,
+-?(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfo;)VT/
0markTicketFailed`(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue$SegmentFlushTicket;)V23
04getTicketCount6?
07	?doAfterFlushL(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;)V:;
?<doAfterSegmentFlushed(ZZ)V>?
@getRAMBufferSizeMB()DBC
lD??getDeleteBytesUsedH|
?IA0@java/util/LocaleOROOTLjava/util/Locale;QR	PSFforce apply deletes after flush bytesUsed=%.1f MB vs ramBuffer=%.1f MBUjava/lang/DoubleWvalueOf(D)Ljava/lang/Double;YZ
X[java/lang/String]formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;_`
^a
newSegmentXLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;flushingDocsInRamdwptSuccessticket]Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterFlushQueue$SegmentFlushTicket;ramBufferSizeMBD
compareAndSet(II)Zkl
Zm
numFlushedoldValuesetFlushingDeleteQueuesessionflushAllThreadsstartFullFlusht
?markForFullFlushw|
?xq?
z
currentThread()Ljava/lang/Thread;|}
?~getName?4
??#: flush naked frozen global deletes?flushingDeleteQueueanythingFlushedfinishFullFlush@(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;Z)V finishFullFlush success=??V
??abortFullFlushes?V
??getIndexWriterConfigH()Lcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;java/util/Queue?add????eventramBytesUsed?|
??
eventQueue()Ljava/util/Queue;java/lang/Class?desiredAssertionStatus??
??	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTable?(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;)J?(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;)JW()Ljava/util/Queue;
SourceFileInnerClasses05676B89:;<=>?@@ABCBD9EFGHIJKLMN?OPQBRAS9#TU?y*?X*?ZY?]?_*?0Y?`?b*?d*-?f*?h*,?j*,?p?r*?tY*?r?w?y*,?}?*,????*+??*??Y????*??Y*,+????????4y??yKLy<=y56y76?>kok ?%?+?0?8?G?O?W?\?g?x??????+*?yM,+??B*????**??!????*,???!uB!??*+??+??&@A ?Q??????&?)??	?)t?? ???>*???????Q?
???????+*?yM,+??B*????**??!????*,???!uB!??*+??+??&@A ?Q??????&?)??	?)t???????+*?yM,+??B*????**??!????*,???!uB!??*+??+??&@A ?Q??????&?)??	?)t?????/*?y?????????s!*???Ǚ+?*?b+??*?϶????!??!@A??
???????????e?*?b+?٬*?b+?ܬ? ??KL?9???
??
?????2*?_????????V?M*??
??Y?쿱?????????? ?????+???
??Y????=*?y?*?r??*?r	?
*??>6?2*??:?*?W??
:??????*???#*???&=*?r??T*?r?(Y?)+?/?2?6?
?3:*?r??!*?r?(Y?)+?/?2?6?
??[bjjlj??????>V78E59:BH;:????KL?<9?Z??? ?-?:?B?K?V?[?b?g?j?t?z????????????????\	?"?
?$ ?	??= ?, ? =>?O??+?A???Y?B?*?r??*?rC?
*?b+??W	A6*?y?*??F6*??I6?#*??:? *??aA????*?y?*?y*??`??L*???#*???&6 7*?r??"*?r?(Y?)N?/?2?6?
?*+?Q?:
*?r??"*?r?(Y?)N?/?2?6?
?*+?Q
?=??????Hi78W'9:M?;:??RL:?SQ=?<9?r??"?/8:=DMT^i	n
x~????????????I	?'?&?W	? ?-
 	????S??+?V???Y?B?+?Y?0+?]?`=*?c+?]?e>*??+?i?:*??+?i?*??+?i?2<<><? $S:S??S78?&	"#%$&)'0(2*I-Q/?f  O??U???+?A???Y?B?*?r??*?rk?
*??F=*??n>?^*??:?V???>:*?r??/*?r?(Y?)p?/?su?/?x?/?6?
?????E\_ ?>O
78a9yz@`9:????RL7j;:?>45"6/879>:E<O=W>\E_@aAnB?:?G??B :?{|??3*??@*??F>6?*??:?}??@??????4!
78!9:3??.~Q
&;:?KL
MN!O+M1Q??? ????*?_??*???*?b???
*????<*?r??U?Q*?r?(Y?)??/*?_??s??/*???2??/*?b???2??/*???2?6?
?????(a9?\(]9^^_n`?^?c?
"@?_???2*?y???????g???2*?y???????l???2*?y???????p?V??
*??*??????
???uvw????D*??<*?????
*?????+*????YM?*,????9?"z{|?&?1?8?B????+????????0**?y???=+?*+???=?*????N-?*-???=??*"?[0??0?[0?9?????"?&?.??????g??
P+?]?K?$Y*??????M+?+Y*??*????*?f*?h*?j*?r*?y,*????*???ɷ̵]?? 9??P??P?8????O???O??????
*??6*????:*??*?ٲ??Y???Y?B??]:?`6+,-??7*?_?`d??W?+:
*???i?e
?:*?_?`d??W?-??6
*??
??:??9?}??.??Y?(Y?)?/???/?}??6????}*???:
*???
?*???u7?=GZ?=GmZom???????G?Q\??
6?Z[=??:?P?9
?O?[?g?Q
??
??
??
??9?78??[??Q?
???f?????/?6?=?G?W?Z?\?e?j?m????????????????????t
?/?*???+?R ?@?J+???? ?
???+????????
*??6*????:*??*?ٲ??Y???Y?B??]:?`6+,-?7*?_?`d??W?+:
*???i?e
?:*?_?`d??W?-??6
*??
??:??9?}??.??Y?(Y?)?/???/?}??6????}*???:
*???
?*???u7?=GZ?=GmZom???????G?Q\??
6?Z[=??:?P?9
?O?[?g?Q
??
?
??
??9?78??[??Q?
?f?????/?6?=?G?W?Z?\?e?j?m????????????????????t
?/?*???+?R ?@?J+???? ?
???+????????
?=+?s=>:??Q*?d?J+?*?d????Y?(Y?)?/*?d?
?/+???/*????2?6???*?b+?:+?`66+?:*?b?6*?c+?"?'?*?Y+?"?*??=?U*?Y+?.?1??=?A:*?c+?"?'?*?Y+?"?*??=?*?Y+?.?1??=?>?+?&*?b?5?:	??*?b?5	?*?b?8*???*?9??*??+?=?&*??+?=?:
*??+?=
?*????L????*???A*?j?E9F??k*???J?KkMo??U=**?y???H*?r??4*?r?TV?Y*???J?Ko?\SY?\S?b?
*?϶??t?????a
H^^`^?\	zcdq?e:t?f9
i<9
fgh?????[??9?sij??5??

Takqtz? ?"?#?$?%?'?(?)?"?#?$?%?'?(?)-/
3/$30:A?HC[D^CkFsGvIzJ?Q?R?S?T?U?V?W?X?Y?W?[?_????^.?IX ?$ ??+. ?
+. ?+."J ?
?r+???a[??:*?_??=*?_d?n?*?_??=????*?_????Y?B??? :??:o:2p:?cde!g9h??"q???*+?d????rA?
ops|??M*?r??*?ru?
*YL?**?v??*?yM*???yB??*,?{???Y?B?+ç
:+????*?d???Y?B???*?d*?y???Y?B?<*????Y:?*???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy