com.groupbyinc.flux.common.apache.lucene.search.uhighlight.FieldOffsetStrategy.class Maven / Gradle / Ivy
???? 4 ? Ncom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldOffsetStrategy java/lang/Object FieldOffsetStrategy.java Zcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/UnifiedHighlighter$OffsetSource Mcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/UnifiedHighlighter OffsetSource field Ljava/lang/String; phraseHelper ILcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PhraseHelper; terms 9[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; automata P[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton; ?(Ljava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PhraseHelper;[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;)V ()V
this PLcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/FieldOffsetStrategy;
queryTerms getField ()Ljava/lang/String; getOffsetSource ^()Lcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/UnifiedHighlighter$OffsetSource; getOffsetsEnums a(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;ILjava/lang/String;)Ljava/util/List; java/io/IOException ) createOffsetsEnumsFromReader N(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;I)Ljava/util/List; 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader - J(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; /
. 0 java/util/Collections 2 emptyList ()Ljava/util/List; 4 5
3 6 4com/groupbyinc/flux/common/apache/lucene/index/Terms 8 Gcom/groupbyinc/flux/common/apache/lucene/search/uhighlight/PhraseHelper : getTermToSpans M(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;I)Ljava/util/Map; <