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

com.groupbyinc.flux.common.apache.lucene.search.postingshighlight.PostingsHighlighter.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?Ucom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighterjava/lang/ObjectPostingsHighlighter.javaocom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$LimitedStoredFieldVisitorLimitedStoredFieldVisitoracom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$OffsetsEnum	OffsetsEnumWcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$4Wcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$3Wcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$2Wcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$1java/util/Map$Entry
java/util/MapEntryEMPTY_INDEXSEARCHER?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;DEFAULT_MAX_LENGTHI'	maxLengthdefaultFormatterTLcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PassageFormatter;
defaultScorerQLcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PassageScorer;EMPTY=Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;$assertionsDisabledZ()V(I)V')
*thisWLcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter;'(
.???"java/lang/IllegalArgumentException1%maxLength must be < Integer.MAX_VALUE3(Ljava/lang/String;)V'5
26	8getBreakIterator-(Ljava/lang/String;)Ljava/text/BreakIterator;java/util/Locale<ROOTLjava/util/Locale;>?	=@java/text/BreakIteratorBgetSentenceInstance-(Ljava/util/Locale;)Ljava/text/BreakIterator;DE
CFfieldLjava/lang/String;getFormatterh(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PassageFormatter; 	LYcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/DefaultPassageFormatterN
O.	getScorere(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PassageScorer;!"	SOcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PassageScorerU
V.	highlight?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;)[Ljava/lang/String;java/io/IOExceptionZ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;I)[Ljava/lang/String;X\
]query7Lcom/groupbyinc/flux/common/apache/lucene/search/Query;searchertopDocs9Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;java/lang/StringdhighlightFields?([Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;[I)Ljava/util/Map;fg
hget&(Ljava/lang/Object;)Ljava/lang/Object;jkl[Ljava/lang/String;nmaxPassagesres6Ljava/util/Map;Ljava/util/Map;?([Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;)Ljava/util/Map;java/util/Arraysufill([II)Vwx
vyfields[I7com/groupbyinc/flux/common/apache/lucene/search/TopDocs}	scoreDocs;[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;?	~??|8com/groupbyinc/flux/common/apache/lucene/search/ScoreDoc?doc?	???([Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;[I[I)Ljava/util/Map;f?
?idocidsjava/util/HashMap?
?.highlightFieldsAsObjects??
?entrySet()Ljava/util/Set;???
java/util/Set?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????getValue???[Ljava/lang/Object;?getKey???put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???5com/groupbyinc/flux/common/apache/lucene/search/Query?=com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher?toString()Ljava/lang/String;??
?snippetLjava/lang/Object;snippetObjectssnippetStringsent;Ljava/util/Map$Entry;i$Ljava/util/Iterator;fieldsIndocidsIn
maxPassagesInsnippetsfieldsIn must not be empty?invalid number of maxPassagesIn?java/util/TreeSet?
?.	?createNormalizedWeightr(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;??
??6com/groupbyinc/flux/common/apache/lucene/search/Weight?extractTerms(Ljava/util/Set;)V??
??getIndexReader>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;??
??:com/groupbyinc/flux/common/apache/lucene/index/IndexReader?
getContextE()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;??
??Acom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext?leaves()Ljava/util/List;??
??java/lang/System?	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)V??
??sort([I)V??
v?o(Lcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter;[Ljava/lang/String;[I)V'?
?(II)V??
?loadFieldValuesk(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;[Ljava/lang/String;[II)[[Ljava/lang/String;??
?java/util/SortedSetjava/util/List[[Ljava/lang/String;3com/groupbyinc/flux/common/apache/lucene/index/Term	'(Ljava/lang/String;Ljava/lang/String;)V'
9com/groupbyinc/flux/common/apache/lucene/util/UnicodeUtilBIG_TERM8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;	M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V'
subSet;(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/SortedSet;size()I6com/groupbyinc/flux/common/apache/lucene/util/BytesRef?9[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;"bytes:()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;$%
&:;
(highlightField?(Ljava/lang/String;[Ljava/lang/String;Ljava/text/BreakIterator;[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;[ILjava/util/List;ILcom/groupbyinc/flux/common/apache/lucene/search/Query;)Ljava/util/Map;*+
,java/lang/Integer.valueOf(I)Ljava/lang/Integer;01
/2term5Lcom/groupbyinc/flux/common/apache/lucene/index/Term;jnumPassagesfloorceiling
fieldTermsLLjava/util/SortedSet;Ljava/util/SortedSet;termstermUptofieldHighlights6Ljava/util/Map;result
queryTerms
readerContextCLcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;TLjava/util/List;Ljava/util/List;contents
highlights6Ljava/util/Map;[CJgetMultiValuedSeparator(Ljava/lang/String;)CLM
N([Ljava/lang/String;[CI)V'P
QG(ILcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor;)V?S
?T(I)Ljava/lang/String;?V
W
e?resetZ(
[valueSeparatorsvisitorqLcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$LimitedStoredFieldVisitor;getIndexAnalyzerP(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;JK
bjava/lang/NullPointerExceptiondPassageFormatter cannot be nullf
e6Rcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PassageFormatteri`a
kMcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomatonmWcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/MultiTermHighlightingoextractAutomata?(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Ljava/lang/String;)[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;qr
ps:com/groupbyinc/flux/common/apache/lucene/analysis/AnalyzeruP[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;w>[Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;y8com/groupbyinc/flux/common/apache/lucene/index/TermsEnum{length}
e~setText?5
C?9com/groupbyinc/flux/common/apache/lucene/index/ReaderUtil?subIndex(ILjava/util/List;)I??
??(I)Ljava/lang/Object;j??@com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext?reader=()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;??
??%&	?java/lang/AssertionError?
?.9com/groupbyinc/flux/common/apache/lucene/index/LeafReader?J(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;=?
??4com/groupbyinc/flux/common/apache/lucene/index/Terms?
hasOffsets??
??java/lang/StringBuilder?
?.field '?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??/' was indexed without offsets, cannot highlight?
??<()Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;??
??;com/groupbyinc/flux/common/apache/lucene/index/PostingsEnum?tokenStreame(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;??
v?getDocsEnum?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton;)Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;??
p?docBase?	??advance(I)I??
??highlightDoc-(Ljava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;ILjava/text/BreakIterator;ILcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;[Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;I)[Lcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/Passage;??
?getEmptyHighlightz(Ljava/lang/String;Ljava/text/BreakIterator;I)[Lcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/Passage;??
?L[Lcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/Passage;?formatr([Lcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/Passage;Ljava/lang/String;)Ljava/lang/Object;??
j?newTermst6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;dpcontentleaf
subContextBLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;r;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;passagesbiLjava/text/BreakIterator;fieldFormatteranalyzer;Ljava/util/PriorityQueue;weightspassageQueuefLjava/util/PriorityQueue;currentoffcLcom/groupbyinc/flux/common/apache/lucene/search/postingshighlight/PostingsHighlighter$OffsetsEnum;java/util/ArrayListn
o.k
Cq?4passage	fieldName]Ljava/util/List;java/lang/Class{desiredAssertionStatus}?
|~:com/groupbyinc/flux/common/apache/lucene/index/MultiReader?@([Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)V'?
???(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)V'?
??
setQueryCache?(Lcom/groupbyinc/flux/common/apache/lucene/search/QueryCache;)V??
??java/lang/RuntimeException?(Ljava/lang/Throwable;)V'?
??

.emptyReader;?([Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;[I)Ljava/util/Map;?([Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;[I[I)Ljava/util/Map;?([Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;[I[I)Ljava/util/Map;=(Ljava/lang/String;[Ljava/lang/String;Ljava/text/BreakIterator;[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;[ILjava/util/List;ILcom/groupbyinc/flux/common/apache/lucene/search/Query;)Ljava/util/Map;
SourceFileInnerClasses!? !"#$%&'(?6*'?+??,-?
??')?v*?/?	0?
?2Y4?7?*?9??,-????????	:;?;?A?G??,-HI??JK?\*?M?*?OY?P?M*?M??,-HI?????QR?\*?T?*?VY?W?T*?T??,-HI?????XY?]*+,-?^??4,-HI_`abc???[X\??	&*?eY+S,-?
YO?i:+?m?o??H&,-&HI&_`&a&bc&pqs?qr?
???[ft?|+??
:?z*+,-?i??>,-{n_`abcp|?????[??fg??	8??:??
:6??2??O????*+,-????\	?8,-8{n8_`8a8bc8p|1?*?|?&,??????[??f???
???Y??:*+,-??????:???^???:????:		??e:
??
??W6	??	2:?

??S???ߧ?????
m??^$?B@??	J8?n
6L?? e???,-??n?_`?a??|??|	?s?6L??	?r?27	869B:J;[<f=m>r?|<?B?D?W? ??=o??????o?o???????[?????H	?+??
?2Y˷7?+???
?2Yͷ7???Y??:??,????-???:??:??
:		???+??e:
+
+?????
:???	???Y*
??
???*-
	*?9?:??Y??:
6
???
2:.6?Y
?
:?Y??:?:?? :6?!:??????:??'S???*2*?)	,?-:	??:6??.?3?mS????
??W???+
??
45	&??V"6??HI??7??85??95??:<??="?>K9?sS1A?????,-??n?_`?a??|??|+bB<ALCDHE?FO>?|	b+{n
sp|??G??Hs
?4??:;K9?@+bB;HE?E??HI
??%^_ab"d+e8gAhHkOl[mbnlosps?t??????????????????????,?/?K?S?^?r?x?????????o??????o??Vo??????o?e#??%?&??!?o??????o??[?????g
,?-??:,??:6,??*,2?OU????Y,?R:6-??:+-.?U6		,??	2	?X?YS?	????\??????p?R6	>>?,-a{n?|
uGo]J;D^_?:?
???'?-?;?E?O?Y?k?q?v?|?? ?K?????
?[LM?7 ??,-HI??`a?6??,-HI??*+?s	???Y??:	*+?c:

??eYg?h?*+?l:?n:?+?t:???`? :

???
::
:66??/,2:???-??.6??6????:??:??????Y????O+??:?????%?2Y??Y?????+????????7???:???:
?:??}??*+????:??d??W
?dS*+?-??d
??:??
*+-??:??	?3
?ι?W6????	??J?"
?D??/?$t ?I?????????????d0??f4??,-?HI?Gn????="??|??F?p?_`	?Hs	?? 
'v??-p?w]@?y
`=??c:????E	?H@	??/?	??? ?'?-?2?:?@?J?V?Z?]?`?c?n?t?|??????????????????????? /
=Gdjtz??????? j?vx?eoC#??jvxz|?e??eoC#??jvxz|e???=??,?,??eoC#??jvxz|??[?????^*+??:		??eY?h???Y??:
,??:6,???2:

????
?I??S,2???w8??[S:
???
???Y???
??6?
??6?
??6?*	
????Q
?W
?
Y
??	W???T
?
Y??0??	W??Y?Y*??:?Y?:

??
Y:???:?6??????Y????6?????0???Y????????
???
?!?j
Y?%	
?!?)j?%?*?
?%?-??%??
?.?0
?1W?*???:

?.??Y?:
?J?*?:?5W:?66?2:?7?????Y*?8?;?
`?>?D?!
?F?I?6?,?L2:? ??O:??????Y???
?S?V????@Y?V`?V?W?6?6
??	?
?1W???}
Y?%?L0	
?
?!d?Yjb?%???????Y?????$?Z7?[$
?>Z)??\]?!^??_??=??Yw4??$"?`<?aM?W,-HI="b??????ycd"	 ?eg
&?h??igk]
?lm? ?ef
?ij?2L'()+ ,&.0/71?2B3G4O5[6^8n9?:?<?=?>?B?C?D?E?.?I?K?WZ[\"]5^<bUcaddfngvi?k?l?n?o?p?q?s?x?y?z?{|{'?*?<?J?M?P?Y?^?h?{???????????????????????????	????V?????"??-??-??.
???K#?#e#C|zV???
???????- .?
?'e#C|zV???

?[???Q??oY?p:,?r6??????Y????s?B,?F6??3?Y?:t?%?!??uW6????s??v?ʰ?R36?E$w]?,-?xI????p	x?FrT?	x?y?>?	??"?-?3?9?<?E?M?T?[?e?i?l???"??/z(??F???????Y???K??Y*???Ҳ????
K??Y*????
Y????.1[???2	???"`jk'l.o1m2n;??
@c[	??:



	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy