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

com.groupbyinc.flux.common.apache.lucene.search.highlight.Highlighter.class Maven / Gradle / Ivy

????4yEcom/groupbyinc/flux/common/apache/lucene/search/highlight/Highlighterjava/lang/ObjectHighlighter.javaScom/groupbyinc/flux/common/apache/lucene/search/highlight/Highlighter$FragmentQueue
FragmentQueueDEFAULT_MAX_CHARS_TO_ANALYZEI?	formatterELcom/groupbyinc/flux/common/apache/lucene/search/highlight/Formatter;encoderCLcom/groupbyinc/flux/common/apache/lucene/search/highlight/Encoder;fragmentScorerBLcom/groupbyinc/flux/common/apache/lucene/search/highlight/Scorer;maxDocCharsToAnalyzetextFragmenterFLcom/groupbyinc/flux/common/apache/lucene/search/highlight/Fragmenter;E(Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Scorer;)VMcom/groupbyinc/flux/common/apache/lucene/search/highlight/SimpleHTMLFormatter()V
?(Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Formatter;Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Scorer;)V
thisGLcom/groupbyinc/flux/common/apache/lucene/search/highlight/Highlighter;Hcom/groupbyinc/flux/common/apache/lucene/search/highlight/DefaultEncoder!
"?(Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Formatter;Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Encoder;Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Scorer;)V$
%

	(Jcom/groupbyinc/flux/common/apache/lucene/search/highlight/SimpleFragmenter*
+	-'formatter' must not be null/ensureArgumentNotNull'(Ljava/lang/Object;Ljava/lang/String;)V12
3'encoder' must not be null5!'fragmentScorer' must not be null7
	9	;	=getBestFragmentt(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;java/io/IOExceptionAVcom/groupbyinc/flux/common/apache/lucene/search/highlight/InvalidTokenOffsetsExceptionC:com/groupbyinc/flux/common/apache/lucene/analysis/AnalyzerEtokenStreame(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;GH
FIe(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;Ljava/lang/String;)Ljava/lang/String;?K
Lanalyzer;Ljava/util/ArrayList;java/lang/Exception?java/lang/StringBuilder?
?Scom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute?=com/groupbyinc/flux/common/apache/lucene/analysis/TokenStream?addAttributeL(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute;??
??Qcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute?length()I??
??size??
h?(Ljava/lang/CharSequence;II)V?
m?Ecom/groupbyinc/flux/common/apache/lucene/search/highlight/QueryScorer?setMaxDocCharsToAnalyze(I)V??
??@com/groupbyinc/flux/common/apache/lucene/search/highlight/Scorer?init?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;????
startFragmentK(Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/TextFragment;)V?????
?Dcom/groupbyinc/flux/common/apache/lucene/search/highlight/Fragmenter?startT(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;)V????Dcom/groupbyinc/flux/common/apache/lucene/search/highlight/TokenGroup?B(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;)V?
??reset?
??incrementToken()Z??
??startOffset????	endOffset????
{?Token ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??
t' exceeds length of provided text sized ?(I)Ljava/lang/StringBuilder;??
??
?t(Ljava/lang/String;)V?
D?getNumTokens??
??
isDistinct??
??getStartOffset??
??getEndOffset??
??	substring(II)Ljava/lang/String;??
{?Acom/groupbyinc/flux/common/apache/lucene/search/highlight/Encoder?
encodeText&(Ljava/lang/String;)Ljava/lang/String;????Ccom/groupbyinc/flux/common/apache/lucene/search/highlight/Formatter?
highlightTerml(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/TokenGroup;)Ljava/lang/String;????clear?
??
isNewFragment????getFragmentScore?o??setScore(F)V??
m
textEndPos
	m
getTokenScoreo?addToken?
?	(I)Ljava/lang/String;?
{iterator()Ljava/util/Iterator;
hjava/util/IteratorhasNext?next()Ljava/lang/Object;insertWithOverflow&(Ljava/lang/Object;)Ljava/lang/Object;

?pop 
!mergeContiguousFragmentsL([Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/TextFragment;)V#$
%end'
?(close*
?+java/lang/Throwable-markedUpText	tokenTextZ^Ljava/util/Iterator;Ljava/util/Iterator;_Ljava/util/ArrayList;
lastEndOffset
tokenGroupFLcom/groupbyinc/flux/common/apache/lucene/search/highlight/TokenGroup;docFragsnewTextLjava/lang/StringBuilder;termAttULcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute;	offsetAttSLcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute;currentFragHLcom/groupbyinc/flux/common/apache/lucene/search/highlight/TextFragment;	newStream	fragQueueULcom/groupbyinc/flux/common/apache/lucene/search/highlight/Highlighter$FragmentQueue;followsK(Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/TextFragment;)ZDE
mFmergeH?
mIbestScoringFragNumworstScoringFragNumfrag1frag2frag1Numfrag2NumxmergingStillBeingDonex(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;	separatorsectionsresultgetMaxDocCharsToAnalyzegetTextFragmenterH()Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Fragmenter;setTextFragmenterI(Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Fragmenter;)Vjava/util/Objects\requireNonNull^
]_
fragmentergetFragmentScorerD()Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Scorer;setFragmentScorerscorer
getEncoderE()Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Encoder;
setEncoderF(Lcom/groupbyinc/flux/common/apache/lucene/search/highlight/Encoder;)V"java/lang/IllegalArgumentExceptionj
k?argumentLjava/lang/Object;message
ConstantValueCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTableLocalVariableTypeTable
SourceFileInnerClasses!	
p

qE
*?Y?+??r
 
s
12qP*+?"Y?#,?&?r  
s
6
7$q?7*?'*?)*?+Y?,?.+0?4,6?4-8?4*+?:*,?<*-?>?r*7 7
77s*
:,
-;<!='?,@1A6B?@qf+,-?J:*-?M?r4 NOPQRQGSs
TUtBD?Kqu*+,?WN-??-2??r* GSRQZXskl
npu?YtBDT[qr+,-?J:*-?W?r> NOPQRQ\

GSs
??tBDTUqZ?b>*+,?f:?hY?i:6??,2?2?q??2?u?yW?????{??Y?rH1?
Z ZGSZRQZ\
J?jA??vA??s"????$?9?G?M?u?kh*?tBDcdq?S?hY?i:??Y??:+?????:+?????:?mY??????:	*?>???*?>??*?)??*?>+??:

?
L*?>	??	?yW?Y??:6*?.,+????Y+??:
+??+??6?/??*?)?!??,?ȣ??,?Ȥ.?DY??Y??ʶ??϶?Ѷ?,?ȶԶշؿ
?۞?
?ޙ?
??6
??6,??:*?:*?<??
??:?*?<,?????W??W?b6
??*?.???C	*?>???	????mY??????:	*?>	??	?yW
*?>??
+??6???	*?>???
?۞b
??6
??6,??:*?:*?<??
??:?*?<,?????W??W?b6,?Ȣ#,??*?)?*?<,?
????W	????:????m:		?W?????m:?d6??"?mS??????Q*?&?hY?i:6??)2?2?q??2?yW?????m??k::+?+?)+?,?:?:+?+?)+?,?:?-58??)=CKN?=?=rC?/Q+?0Q??
!??
?11 //QG0Q?X?
?Q?
?!?3??
?.?
??????5
??67
???jS SGSSRQS#1S\
	J8?A9:6;<(+=>=?@	a?AS
??BCv ?!?2???4	J84sNS?	???(?=?G?U?a?f?i?t?|??????????????????????!?+?C?J?a?i?r?w???????????????
??? '>FORY!c%x(?+?-?A?E?F?H?F?L?N?O?P?RTPW%Z)_-c1d5h8f:h=_CcGdKhNfPhu??U
?{h???m?????{h???m??.*?]?{h???m??{{?a?{h???m????c?{h???m??{{??{h???m??(?? ??{h???m??k??{h???m??k??{h???m??kh'??
?{h???m??k??{h???m??kk???{h???m?.??{h???m?.?tBD#$qQ?+???=>+???+2???6+???+2???+2???::66+2+2?G?+2:6+2:6?"+2+2?G?+2:6+2:6?8?q?q??6	6
?6	6
?J+
S=+	S???\???D??*?)?r 
s
??XYq/*?.?r s?Z[qD*+?`???.?r as
??bcq/*?>?r s?dqD*+?`???>?r es
??fgq/*?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy