com.groupbyinc.flux.common.apache.lucene.search.FuzzyTermsEnum.class Maven / Gradle / Ivy
???? 4Y >com/groupbyinc/flux/common/apache/lucene/search/FuzzyTermsEnum 8com/groupbyinc/flux/common/apache/lucene/index/TermsEnum FuzzyTermsEnum.java _com/groupbyinc/flux/common/apache/lucene/search/FuzzyTermsEnum$LevenshteinAutomataAttributeImpl LevenshteinAutomataAttributeImpl [com/groupbyinc/flux/common/apache/lucene/search/FuzzyTermsEnum$LevenshteinAutomataAttribute LevenshteinAutomataAttribute Ccom/groupbyinc/flux/common/apache/lucene/index/TermsEnum$SeekStatus
SeekStatus
actualEnum :Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; boostAtt @Lcom/groupbyinc/flux/common/apache/lucene/search/BoostAttribute; maxBoostAtt QLcom/groupbyinc/flux/common/apache/lucene/search/MaxNonCompetitiveBoostAttribute; dfaAtt ]Lcom/groupbyinc/flux/common/apache/lucene/search/FuzzyTermsEnum$LevenshteinAutomataAttribute; bottom F
bottomTerm 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; automata L[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CompiledAutomaton; queuedBottom
termLength I maxEdits terms 6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; term 5Lcom/groupbyinc/flux/common/apache/lucene/index/Term; termText [I realPrefixLength transpositions Z $assertionsDisabled ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeSource;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;IIZ)V java/io/IOException - ()V + /
0 4com/groupbyinc/flux/common/apache/lucene/index/Terms 2 =com/groupbyinc/flux/common/apache/lucene/util/AttributeSource 4 3com/groupbyinc/flux/common/apache/lucene/index/Term 6 "java/lang/IllegalArgumentException 8 java/lang/StringBuilder :
; 0 (max edits must be 0..2, inclusive; got: = append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? @
; A (I)Ljava/lang/StringBuilder; ? C
; D toString ()Ljava/lang/String; F G
; H (Ljava/lang/String;)V + J
9 K "prefixLength cannot be less than 0 M O ! " Q # $ S text U G
7 V java/lang/String X length ()I Z [
Y \ codePointCount (II)I ^ _
Y ` % & b codePointAt (I)I d e
Y f java/lang/Character h charCount j e
i k m addAttribute L(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute; o p
5 q s Ocom/groupbyinc/flux/common/apache/lucene/search/MaxNonCompetitiveBoostAttribute u w
attributes A()Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeSource; y z
{ >com/groupbyinc/flux/common/apache/lucene/search/BoostAttribute } ' ? ( ) ? N()[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CompiledAutomaton; ?
? Icom/groupbyinc/flux/common/apache/lucene/util/automaton/CompiledAutomaton ? Kcom/groupbyinc/flux/common/apache/lucene/util/automaton/LevenshteinAutomata ? 9com/groupbyinc/flux/common/apache/lucene/util/UnicodeUtil ? newString ([III)Ljava/lang/String; ? ?
? ? (Ljava/lang/String;Z)V + ?
? ? toAutomaton X(ILjava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; ? ?
? ? java/lang/Boolean ? valueOf (Z)Ljava/lang/Boolean; ? ?
? ? Z(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;Ljava/lang/Boolean;Z)V + ?
? ? setAutomata O([Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CompiledAutomaton;)V ? ?
? ? getMaxNonCompetitiveBoost ()F ? ? v ? ? getCompetitiveTerm :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ? v ? ?
bottomChanged ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V ? ?
? cp i j a CLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; builder MLcom/groupbyinc/flux/common/apache/lucene/util/automaton/LevenshteinAutomata; prefix Ljava/lang/String; this @Lcom/groupbyinc/flux/common/apache/lucene/search/FuzzyTermsEnum; atts ?Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeSource; prefixLength utf16 prevAutomata getAutomatonEnum u(ILcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; * ) ? java/lang/AssertionError ?
? 0 =com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder ?
? 0 floor ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ?
? ? 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ? intersect ?(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CompiledAutomaton;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; ? ?
3 ? initialSeekTerm editDistance lastTerm compiled KLcom/groupbyinc/flux/common/apache/lucene/util/automaton/CompiledAutomaton; compareTo ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)I ? ?
? ? ? ?
? ? maxBoost oldMaxEdits termAfter next ? ? ?
? matches <(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;I)Z ? ?
? setBoost (F)V ? ? ~ ? ^ ?
? ? java/lang/Math ? min ? _
? ?
deepCopyOf r(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
?
minTermLength
similarity ed bytes ?
7 equals (Ljava/lang/Object;)Z
?
runAutomaton JLcom/groupbyinc/flux/common/apache/lucene/util/automaton/ByteRunAutomaton; ? [B ? offset ? Z ? Hcom/groupbyinc/flux/common/apache/lucene/util/automaton/ByteRunAutomaton run ([BII)Z
termIn k docFreq# [
$
totalTermFreq ()J&'
( postings }(Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;I)Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;*+
, reuse =Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum; flags seekExact u(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/index/TermState;)V12
3 state :Lcom/groupbyinc/flux/common/apache/lucene/index/TermState; termState <()Lcom/groupbyinc/flux/common/apache/lucene/index/TermState;78
9 ord;'
< ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z1>
? seekCeil (Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum$SeekStatus;AB
C (J)V1E
F J # ?
I java/lang/ClassL desiredAssertionStatus ()ZNO
MP Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses 1 ! " # $ % &