com.groupbyinc.flux.common.apache.lucene.index.BaseCompositeReader.class Maven / Gradle / Ivy
???? 4 ? Bcom/groupbyinc/flux/common/apache/lucene/index/BaseCompositeReader ?Lcom/groupbyinc/flux/common/apache/lucene/index/CompositeReader; >com/groupbyinc/flux/common/apache/lucene/index/CompositeReader BaseCompositeReader.java
subReaders =[Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; [TR; starts [I maxDoc I numDocs subReadersList Ljava/util/List; Ljava/util/List; @([Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)V java/io/IOException ()V
java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
java/util/Collections ! unmodifiableList "(Ljava/util/List;)Ljava/util/List; # $
" % '
) :com/groupbyinc/flux/common/apache/lucene/index/IndexReader , ()I .
- / .
- 1 registerParentReader ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)V 3 4
- 5 :com/groupbyinc/flux/common/apache/lucene/index/IndexWriter 7 getActualMaxDocs 9 .
8 : >com/groupbyinc/flux/common/apache/lucene/index/DirectoryReader < Dcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexException > java/lang/StringBuilder @
A +Too many documents: an index cannot exceed C append -(Ljava/lang/String;)Ljava/lang/StringBuilder; E F
A G (I)Ljava/lang/StringBuilder; E I
A J but readers have total maxDoc= L (J)Ljava/lang/StringBuilder; E N
A O toString ()Ljava/lang/String; Q R
A S '([Ljava/lang/Object;)Ljava/lang/String; Q U
V '(Ljava/lang/String;Ljava/lang/String;)V X
? Y "java/lang/IllegalArgumentException [ 9Too many documents: composite IndexReaders cannot exceed ] (Ljava/lang/String;)V _
\ ` java/lang/Math b
toIntExact (J)I d e
c f
h
j r