com.groupbyinc.flux.common.apache.lucene.document.Field.class Maven / Gradle / Ivy
???? 4 7com/groupbyinc/flux/common/apache/lucene/document/Field java/lang/Object =com/groupbyinc/flux/common/apache/lucene/index/IndexableField
Field.java =com/groupbyinc/flux/common/apache/lucene/document/Field$Store Store Icom/groupbyinc/flux/common/apache/lucene/document/Field$StringTokenStream StringTokenStream Icom/groupbyinc/flux/common/apache/lucene/document/Field$BinaryTokenStream BinaryTokenStream type CLcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType; name Ljava/lang/String;
fieldsData Ljava/lang/Object; tokenStream ?Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream; X(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V ()V
"java/lang/IllegalArgumentException name must not be null (Ljava/lang/String;)V "
# java/lang/String % Acom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType ' ) type must not be null + - this 9Lcom/groupbyinc/flux/common/apache/lucene/document/Field; h(Ljava/lang/String;Ljava/io/Reader;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V java/io/Reader 2 java/lang/NullPointerException 4 reader must not be null 6
5 # stored ()Z 9 : ( ; +fields with a Reader value cannot be stored = indexOptions ?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; ? @ ( A ;com/groupbyinc/flux/common/apache/lucene/index/IndexOptions C NONE =Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; E F D G tokenized I : ( J +non-tokenized fields must use String values L N reader Ljava/io/Reader; ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V =com/groupbyinc/flux/common/apache/lucene/analysis/TokenStream S tokenStream must not be null U 0TokenStream fields must be indexed and tokenized W #TokenStream fields cannot be stored Y [ Z(Ljava/lang/String;[BLcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V \(Ljava/lang/String;[BIILcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V ^
_ value [B 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef c ([BII)V e
d f ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V h
i offset I length bytes must not be null n bytes 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; j(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V value must not be null s Hit doesn't make sense to have a field that is neither indexed nor stored u stringValue ()Ljava/lang/String; java/lang/Number y toString { x
| readerValue ()Ljava/io/Reader; tokenStreamValue A()Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream; setStringValue java/lang/StringBuilder ?
? cannot change value type from ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? getClass ()Ljava/lang/Class; ? ?
? java/lang/Class ?
getSimpleName ? x
? ?
to String ?
? | setReaderValue (Ljava/io/Reader;)V
to Reader ?
setBytesValue ([B)V ?
d ? ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V ? ?
? to BytesRef ? /cannot set a BytesRef value on an indexed field ? setByteValue (B)V java/lang/Byte ? to Byte ? valueOf (B)Ljava/lang/Byte; ? ?
? ? B
setShortValue (S)V java/lang/Short ? to Short ? (S)Ljava/lang/Short; ? ?
? ? S setIntValue (I)V java/lang/Integer ? to Integer ? (I)Ljava/lang/Integer; ? ?
? ? setLongValue (J)V java/lang/Long ? to Long ? (J)Ljava/lang/Long; ? ?
? ? J
setFloatValue (F)V java/lang/Float ? to Float ? (F)Ljava/lang/Float; ? ?
? ? F setDoubleValue (D)V java/lang/Double ?
to Double ? (D)Ljava/lang/Double; ? ?
? ? D setTokenStream B(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;)V numericValue ()Ljava/lang/Number; binaryValue :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; (C)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? result Ljava/lang/StringBuilder; fieldType E()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType; ?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream; ? ?
? w x
?
setValue ? "
? ? ?
?
? ?
? -Non-Tokenized Fields must have a String value ~
x
:com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer c(Ljava/lang/String;Ljava/io/Reader;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;
e(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;
HField must have either TokenStream, String, Reader or Number value; got analyzer