com.groupbyinc.flux.common.apache.lucene.search.uhighlight.FieldHighlighter.class Maven / Gradle / Ivy
???? 4x Kcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldHighlighter java/lang/Object FieldHighlighter.java Mcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldHighlighter$1 Zcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/UnifiedHighlighter$OffsetSource Mcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/UnifiedHighlighter
OffsetSource %java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandles Lookup field Ljava/lang/String; fieldOffsetStrategy PLcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldOffsetStrategy;
breakIterator Ljava/text/BreakIterator;
passageScorer JLcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PassageScorer; maxPassages I maxNoHighlightPassages passageFormatter MLcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PassageFormatter; EMPTY =Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum; $assertionsDisabled Z (Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldOffsetStrategy;Ljava/text/BreakIterator;Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PassageScorer;IILcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PassageFormatter;)V ()V # %
& ( * , . 0 2 4 this MLcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldHighlighter; getField ()Ljava/lang/String; getOffsetSource ^()Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/UnifiedHighlighter$OffsetSource; Ncom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldOffsetStrategy < : ;
= > highlightFieldForDoc c(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;ILjava/lang/String;)Ljava/lang/Object; java/io/IOException B java/lang/String D length ()I F G
E H java/text/BreakIterator J setText (Ljava/lang/String;)V L M
K N getOffsetsEnums a(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;ILjava/lang/String;)Ljava/util/List; P Q
= R highlightOffsetsEnums W(Ljava/util/List;)[Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/Passage; T U
V 5com/groupbyinc/flux/common/apache/lucene/util/IOUtils X close (Ljava/lang/Iterable;)V Z [
Y \ :com/groupbyinc/flux/common/apache/lucene/index/IndexReader ^ java/util/List ` java/lang/Throwable b E[Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/Passage; d getSummaryPassagesNoHighlight H(I)[Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/Passage; f g
h Kcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PassageFormatter j format k([Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/Passage;Ljava/lang/String;)Ljava/lang/Object; l m
k n passages reader