All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.search.suggest.phrase.DirectCandidateGenerator.class Maven / Gradle / Ivy

????4?Bcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator?(Lcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestMode;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;DI)Vjava/io/IOException2:com/groupbyinc/flux/common/apache/lucene/index/MultiFields4getTerms?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;67
58?(Lcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestMode;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;DILcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;)V0:
;thisDLcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator;()V0?
@=com/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilderB
C@*+	E=com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilderG
H@,-	J"java/lang/IllegalArgumentExceptionLjava/lang/StringBuilderN
O@generator field [Qappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;ST
OU] doesn't existWtoString()Ljava/lang/String;YZ
O[(Ljava/lang/String;)V0]
M^Hcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker`java/lang/StringbAcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestModed:com/groupbyinc/flux/common/apache/lucene/index/IndexReaderf:com/groupbyinc/flux/common/apache/lucene/analysis/Analyzerh4com/groupbyinc/flux/common/apache/lucene/index/Termsj	l	n./	p	r	tgetSumTotalTermFreq()Jvw
kx????????()	|maxDoc()I~
g?	?$%	?&%	?' 	?getThresholdFrequency()F??
a?#	?iterator<()Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;??
k?	?terms6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;thresholdFrequencyFisKnownWord;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z	frequency;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)J??
?term8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;$?
?internalFrequency??
?8com/groupbyinc/flux/common/apache/lucene/index/TermsEnum?	seekExact??
??
totalTermFreq?w
??docFreq?
??getFielddrawCandidates?(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$CandidateSet;)Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$CandidateSet;originalTermNLcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$Candidate;??	
???	??	?SUGGEST_ALWAYS?	e?6com/groupbyinc/flux/common/apache/lucene/util/BytesRef?(JJ)J??
?setThresholdFrequency(F)V??
a?3com/groupbyinc/flux/common/apache/lucene/index/Term?M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V0?
??suggestSimilar?(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;ILcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestMode;)[Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord;??
a?java/util/ArrayList?(I)V0?
??D[Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord;?java/util/List?Acom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord?string?	??(Ljava/lang/CharSequence;)V0?
??score??	??freq?/	??(JDJ)D??
??(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;JDDZ)V0?
??(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$Candidate;Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;Ljava/util/List;)V&?
?
addCandidates(Ljava/util/List;)V??

?suggestWordCLcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord;	candidateisetQLcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$CandidateSet;original
candidates`Ljava/util/List;Ljava/util/List;?(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)V0
analyze(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Ljava/lang/String;Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$TokenConsumer;Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;)I
get:()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;	
H
resultadd(Ljava/lang/Object;)Z
??(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$Candidate;Ljava/util/List;)V0

errorScoredictionarySizejava/lang/Mathlog10(D)D
round(D)J
max ?
!
termFrequencycreateCandidate?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;JDZ)Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$Candidate;channelScore	userInputjava/lang/Throwable(
copyUTF8Bytes;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V*+
C,:()Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRef;.
C/1com/groupbyinc/flux/common/io/FastCharArrayReader16com/groupbyinc/flux/common/apache/lucene/util/CharsRef3chars[C56	47offset9/	4:length</	4=([CII)V0?
2@tokenStreamc(Ljava/lang/String;Ljava/io/Reader;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;BC
iD?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$TokenConsumer;)IF
G=com/groupbyinc/flux/common/apache/lucene/analysis/TokenStreamIcloseK?
JL
addSuppressed(Ljava/lang/Throwable;)VNO
)Pts?Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;analyzer	toAnalyzeconsumerRLcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$TokenConsumer;charsRef8Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRef;resetZ?
J[B(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;)VZ]

^incrementToken()Z`a
Jb	nextTokend?

eendg?

hjava/io/Closeablej5com/groupbyinc/flux/common/apache/lucene/util/IOUtilslcloseWhileHandlingException([Ljava/io/Closeable;)Vno
mpstream	numTokenssuccess
access$000G(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator;)Jx0
access$100J(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator;JDJ)Dx1x2x3
access$200G(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator;)D
ConstantValueCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTableLocalVariableTypeTable	Signature/(Lcom/groupbyinc/flux/search/suggest/phrase/DirectCandidateGenerator$Candidate;Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;Ljava/util/List;)V
SourceFileInnerClasses1 !#$%&%' ()*+,-./01??*+,-,?9?' ./?
IJ?30:???*?A*?CY?D?F*?HY?I?K
?#?MY?OY?PR?V,?VX?V?\?_?*+?m*,?o*?q*-?s*?u
?y7*z????}*z????????*??*	??*??+??8
*
??

????
j????*
??????z?=>?????' ?./?$%?&%	???
af?$??
?RMCDNO?QDRISOTTUZVaWsX?Y?Z?[?\?]?^?_????
acegiik?/acegiik?acegiikU?acegiik?)acegiik?acegiik?3???O*+??	?????=>???f?@?3???L*+*?F*?K??L*+????=>???
no?3???o'*??+???*?}?
*?????*??????	??'=>'???tu%w?G?3?Z?/*?o??=>?{?????+??M*,??*?F*?K??N,??7*?m*?s????**???ʼn??*?m??Y*?o-??*?q*?u*?s??:??Y???:6??V2:	??Y	???:
*?Y
*
??	??*	??	??*??????*?F*?K?????+??+??f
{F??	?8??
l[?/?=>???????????]r??if??if???>????<?]?i?t?{??????????????>?.
?a?

?a?2???Z?3$???**???+?-:*??+*?o?Y*?,?W???4*=>*??**+*,--???	??$??	?3&???	5*???+?W?$-:*??+??*?o?Y*+?,?W??>-5=>5??5*+5,-5??5???????4?? ?3?????U
)?c?cok??*
=>
?
 
?????w
(	??#	?*??e??!?okkc??"?	?? (=>(#(???&??&$%?k?Y+ * *???????4=>???& ')?5?3	???+?-?0:*,?2Y?8?;?>?A?E::-?H6?!??M?:		?Q??M?::?:
?!??M?:?Q??M
??DG)-5[)-5dpux)[fd?H*bRS?T%?U???VW?*+
XY?":;
<->5?X>[<d??v?G	i?c
C4J))?i?c
C4J))H)?i?c
C4J)))?3	F?Z=>*?\+*?_*?c?
+?f????+?i>?
*?M?,?kY*S?q?:?
*?M??kY*S?q??$==?=?*ZrSZVWXs/Vt)?FGHJK
LMNP"Q$S(T/V:X=SCTJVXY??
M)?)
??3uv?/*????w>?5xy?Q	*)???*	w>	z	{ 	|?5}~?/*????w>?5??*	
	
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy