com.groupbyinc.flux.search.suggest.completion.CompletionSuggestion.class Maven / Gradle / Ivy
???? 4 ? Bcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion ?Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion; 5com/groupbyinc/flux/search/suggest/Suggest$Suggestion CompletionSuggestion.java Hcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$Entry Entry Vcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$OptionPriorityQueue
OptionPriorityQueue Ocom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$Entry$Option
Option *com/groupbyinc/flux/search/suggest/Suggest
Suggestion ;com/groupbyinc/flux/search/suggest/Suggest$Suggestion$Entry %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup NAME Ljava/lang/String;
completion TYPE I $assertionsDisabled Z ()V # $
% this DLcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion; (Ljava/lang/String;I)V # )
* name size
getOptions ()Ljava/util/List; entries Ljava/util/List; 0 1 2 java/util/List 4 isEmpty ()Z 6 7 5 8 ! " : ()I - < 5 = java/lang/AssertionError ? -CompletionSuggestion must have only one entry A (Ljava/lang/Object;)V # C
@ D get (I)Ljava/lang/Object; F G 5 H . /
J java/util/Collections L emptyList N /
M O hasScoreDocs
J fromXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion; java/io/IOException U
* "java/lang/invoke/LambdaMetafactory X metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; Z [
Y \ ] &(Ljava/lang/Object;)Ljava/lang/Object; _ ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$Entry; S a
b c a apply .()Lcom/groupbyinc/flux/common/CheckedFunction; f g h parseEntries ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion;Lcom/groupbyinc/flux/common/CheckedFunction;)V j k
l parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser;
suggestion reduceTo V(Ljava/util/List;)Lcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion;
getEntries s /
t getName ()Ljava/lang/String; v w
x java/lang/String z getSize | <
}
COMPARATOR Ljava/util/Comparator; ? ? (ILjava/util/Comparator;)V # ?
? iterator ()Ljava/util/Iterator; ? ? 5 ? java/util/Iterator ? hasNext ? 7 ? ? next ()Ljava/lang/Object; ? ? ? ?
x equals (Ljava/lang/Object;)Z ? ?
{ ? /name should be identical across all suggestions ? insertWithOverflow ? _
? getText (()Lcom/groupbyinc/flux/common/text/Text; ? ?
? getOffset ? <
? getLength ? <
? +(Lcom/groupbyinc/flux/common/text/Text;II)V # ?
? T()[Lcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$Entry$Option; F ?
? addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z ? ?
M ? addTerm @(Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion$Entry;)V ? ?
? option QLcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$Entry$Option; 7Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion;
priorityQueue XLcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$OptionPriorityQueue; entry JLcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$Entry; leader leaderEntry toReduce ?Ljava/util/List;>; reduce I(Ljava/util/List;)Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion; q r
?
setShardIndex (I)V ? ?
?
shardIndex getWriteableType getType newEntry L()Lcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion$Entry;
% ?()Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion$Entry; ? ?
? java/lang/Class ? desiredAssertionStatus ? 7
? ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable Signature e()Ljava/util/List;
Exceptions LocalVariableTypeTable ?(Ljava/util/List;>;)Lcom/groupbyinc/flux/search/suggest/completion/CompletionSuggestion;(Ljava/util/List;>;)Lcom/groupbyinc/flux/search/suggest/Suggest$Suggestion; BootstrapMethods
SourceFile InnerClasses 1 ? ? ! "
# $ ? 3 *? &? ? ' ( ?
G H # ) ? I *+? +? ? ' ( , - ?
K L . / ? ~ >*? 3? 9 ? 1? ;? *? 3? > ?
? @YB? E?*? 3? I ? ? K?? P? ? > ' ( ? R S ) T : V ? ) ? ? Q 7 ? G *? R? > ? ? ? ? ' ( ? ^ ? @ S T ? \ ? Y+? WM*,? i ? m,? ? n o ,
p ( ? b
c d ? V q r ?
?*? 9 ? ?*? I ? L+? u? I ? M+? yN*? > ? +?? Y+? ~? ?? ?:*? ? :? ? ? e? ? ? :? ;? ? ?-? ??
? @Y?? E?? ? R? ? :? ? ? !? ? ? :? ?? ? ??ۧ??? Y+? y+? ~? W:? Y,? ?,? ?,? ?? ?:? K? ?? ?W? ?? ? \ ? ? ? c S p ? E ? ? ? ? - p ( ? ? ? ? ? ( $ ? ? ? ) ? , ? ? 1 ? c S p ? ? ? ? R ? ? ? ? $ ? ) ? 3 ? 5 ? E ? c ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + ? ) {? ?? 1 ? ?$? ? ? ? ? ? ? K +? ð ? ' ( ? 1 ? ? ? ? ? ? ? ? ? ? ? 2*? 3? 9 ? (*? R? ? M,? ? ? ,? ? ? N-? ǧ?? ? ) ? ? 2 ' ( 2 ? ? ? ? ) ? . ? 1 ? ? ? ?? ? <