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

com.groupbyinc.flux.search.fetch.FetchPhase.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?+com/groupbyinc/flux/search/fetch/FetchPhasejava/lang/Object&com/groupbyinc/flux/search/SearchPhaseFetchPhase.java9com/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext.com/groupbyinc/flux/search/fetch/FetchSubPhase

HitContextjava/util/Map$Entry

java/util/MapEntry3com/groupbyinc/flux/search/SearchHit$NestedIdentity$com/groupbyinc/flux/search/SearchHitNestedIdentityMcom/groupbyinc/flux/search/fetch/subphase/InnerHitsContext$InnerHitSubContext:com/groupbyinc/flux/search/fetch/subphase/InnerHitsContextInnerHitSubContext4com/groupbyinc/flux/index/mapper/ObjectMapper$Nested-com/groupbyinc/flux/index/mapper/ObjectMapperNestedfetchSubPhases1[Lcom/groupbyinc/flux/search/fetch/FetchSubPhase;$assertionsDisabledZ(Ljava/util/List;)V()V%'
(java/util/List*size()I,-+.toArray(([Ljava/lang/Object;)[Ljava/lang/Object;01+2"!"	5@com/groupbyinc/flux/search/fetch/subphase/InnerHitsFetchSubPhase70(Lcom/groupbyinc/flux/search/fetch/FetchPhase;)V%9
8:this-Lcom/groupbyinc/flux/search/fetch/FetchPhase;BLjava/util/List;Ljava/util/List;
preProcess6(Lcom/groupbyinc/flux/search/internal/SearchContext;)Vcontext3Lcom/groupbyinc/flux/search/internal/SearchContext;executejava/io/IOExceptionE1com/groupbyinc/flux/search/internal/SearchContextGstoredFieldsContext8()Lcom/groupbyinc/flux/search/fetch/StoredFieldsContext;IJ
HKhasScriptFields()ZMN
HOhasFetchSourceContextQN
HRLcom/groupbyinc/flux/search/fetch/subphase/FetchSourceContext;??	U?includes()[Ljava/lang/String;??
U?excludes??
U?*(Z[Ljava/lang/String;[Ljava/lang/String;)V%?
U?&com/groupbyinc/flux/common/regex/Regex?isSimpleMatchPattern(Ljava/lang/String;)Z??
??java/util/ArrayList?
?(add??+?smartNameFieldTypeF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;??
H?getObjectMapperC(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper;??
H?"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?(field [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??] isn't a leaf field?toString()Ljava/lang/String;??
??(Ljava/lang/String;)V%?
??0com/groupbyinc/flux/index/mapper/MappedFieldType?java/util/HashSet?
?(^?:com/groupbyinc/flux/index/fieldvisitor/CustomFieldsVisitor?java/util/Collections?emptySet()Ljava/util/Set;??
??	emptyList?k
??#(Ljava/util/Set;Ljava/util/List;Z)V%?
??docIdsToLoadSize?-
H?
	('[Lcom/groupbyinc/flux/search/SearchHit;?isCancelled?N
H?0com/groupbyinc/flux/tasks/TaskCancelledException?	cancelled?
??docIdsToLoad()[I??
H?docIdsToLoadFrom?-
H?searcher<()Lcom/groupbyinc/flux/search/internal/ContextIndexSearcher;??
H?8com/groupbyinc/flux/search/internal/ContextIndexSearcher?getIndexReader>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;??
??:com/groupbyinc/flux/common/apache/lucene/index/IndexReader?leaves?k
??9com/groupbyinc/flux/common/apache/lucene/index/ReaderUtil?subIndex(ILjava/util/List;)I??
??get(I)Ljava/lang/Object;??+?@com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext?docBaseI	?findRootDocumentIfNestedy(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;I)I
createNestedSearchHit?(Lcom/groupbyinc/flux/search/internal/SearchContext;IIILjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/search/SearchHit;	

createSearchHit?(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/index/fieldvisitor/FieldsVisitor;IILcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/search/SearchHit;
reset?(Lcom/groupbyinc/flux/search/SearchHit;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;ILcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;)V
	
hitExecuteq(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext;)VhitsExecute](Lcom/groupbyinc/flux/search/internal/SearchContext;[Lcom/groupbyinc/flux/search/SearchHit;)VfetchResult6()Lcom/groupbyinc/flux/search/fetch/FetchSearchResult;
H%com/groupbyinc/flux/search/SearchHits queryResult6()Lcom/groupbyinc/flux/search/query/QuerySearchResult;"#
H$2com/groupbyinc/flux/search/query/QuerySearchResult&getTotalHits()J()
'*getMaxScore()F,-
'.,([Lcom/groupbyinc/flux/search/SearchHit;JF)V%0
!12com/groupbyinc/flux/search/fetch/FetchSearchResult3hits*(Lcom/groupbyinc/flux/search/SearchHits;)V56
47$com/groupbyinc/flux/ExceptionsHelper9convertToElasticC(Ljava/lang/Exception;)Lcom/groupbyinc/flux/ElasticsearchException;;<
:=
fieldsVisitor6Lcom/groupbyinc/flux/index/fieldvisitor/FieldsVisitor;	fieldType2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;	fieldNameLjava/lang/String;
loadSource	searchHit&Lcom/groupbyinc/flux/search/SearchHit;
fetchSubPhase0Lcom/groupbyinc/flux/search/fetch/FetchSubPhase;docIdreaderIndexsubReaderContextBLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;subDocId	rootDocIdindex
hitContext;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext;eLjava/io/IOException;#Ljava/util/Set;Ljava/util/Set;fieldNamePatterns$Ljava/util/List;6Lcom/groupbyinc/flux/search/fetch/StoredFieldsContext;
mapperService2()Lcom/groupbyinc/flux/index/mapper/MapperService;Z[
H\.com/groupbyinc/flux/index/mapper/MapperService^	hasNested`N
_abitsetFilterCache<()Lcom/groupbyinc/flux/index/cache/bitset/BitsetFilterCache;cd
He0com/groupbyinc/flux/common/lucene/search/QueriesgnewNonNestedFilter9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query;ij
hk8com/groupbyinc/flux/index/cache/bitset/BitsetFilterCachemgetBitSetProducer~(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducer;op
nqCcom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducers	getBitSetz(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/util/BitSet;uvtw4com/groupbyinc/flux/common/apache/lucene/util/BitSety(I)Z?{
z|
nextSetBit(I)I~
z?bits6Lcom/groupbyinc/flux/common/apache/lucene/util/BitSet;(I)V%?
?loadStoredFields?(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/index/fieldvisitor/FieldsVisitor;I)V??
?postProcess3(Lcom/groupbyinc/flux/index/mapper/MapperService;)V??
b?fields()Ljava/util/Map;??
b?isEmpty?N?java/util/HashMap?.
??entrySet???^pgetKey?x?1com/groupbyinc/flux/common/document/DocumentField?getValue?x?%(Ljava/lang/String;Ljava/util/List;)V%?
??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???uid(()Lcom/groupbyinc/flux/index/mapper/Uid;??
b?$com/groupbyinc/flux/index/mapper/Uid?type??
??documentMapperE(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/DocumentMapper;??
_?$com/groupbyinc/flux/common/text/Text?
??/com/groupbyinc/flux/index/mapper/DocumentMapper?typeText(()Lcom/groupbyinc/flux/common/text/Text;??
??id??
??K(ILjava/lang/String;Lcom/groupbyinc/flux/common/text/Text;Ljava/util/Map;)V%?
?lookup2()Lcom/groupbyinc/flux/search/lookup/SearchLookup;??
H?.com/groupbyinc/flux/search/lookup/SearchLookup?source2()Lcom/groupbyinc/flux/search/lookup/SourceLookup;??
??.com/groupbyinc/flux/search/lookup/SourceLookup?setSegmentAndDocumentF(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;I)V??
??3()Lcom/groupbyinc/flux/common/bytes/BytesReference;??
b?	setSource4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)V??
??entryMLjava/util/Map$Entry;>;Ljava/util/Map$Entry;&Lcom/groupbyinc/flux/common/text/Text;searchFieldsVLjava/util/Map;Ljava/util/Map;1Lcom/groupbyinc/flux/index/mapper/DocumentMapper;sourceLookup0Lcom/groupbyinc/flux/search/lookup/SourceLookup;	highlightN()Lcom/groupbyinc/flux/search/fetch/subphase/highlight/SearchContextHighlight;??
H?getUid??
?/com/groupbyinc/flux/common/bytes/BytesReference?getSearchFields?(Lcom/groupbyinc/flux/search/internal/SearchContext;ILjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Ljava/util/Map;??
?findNestedObjectMapper?(ILcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper;??
??#$	?java/lang/AssertionError?
?(getInternalNestedIdentity(Lcom/groupbyinc/flux/search/internal/SearchContext;ILcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/index/mapper/MapperService;Lcom/groupbyinc/flux/index/mapper/ObjectMapper;)Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity;
2com/groupbyinc/flux/common/xcontent/XContentHelperconvertToMap^(Lcom/groupbyinc/flux/common/bytes/BytesReference;Z)Lcom/groupbyinc/flux/common/collect/Tuple;
(com/groupbyinc/flux/common/collect/Tuple
v2x

?(getField?
string?
?=com/groupbyinc/flux/common/xcontent/support/XContentMapValuesextractValue5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;

singletonList$(Ljava/lang/Object;)Ljava/util/List;
?java/lang/IllegalStateException ,extracted source isn't an object or an array"
!?parentObjectMapperAreNested3(Lcom/groupbyinc/flux/index/mapper/MapperService;)Z%&
'MCannot execute inner hits. One or more parent object fields of nested field [)name+?
,@] are not nested. All parent fields need to be nested fields too.	getOffset0-
1getChild7()Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity;34
5(Ljava/util/Map;)V?7
?8v1:x
;0com/groupbyinc/flux/common/xcontent/XContentType=3com/groupbyinc/flux/common/xcontent/XContentFactory?contentBuilderi(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;AB
@C3com/groupbyinc/flux/common/xcontent/XContentBuilderEmapF(Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;GH
FIbytesK?
FLsetSourceContentType5(Lcom/groupbyinc/flux/common/xcontent/XContentType;)VNO
?P?(ILjava/lang/String;Lcom/groupbyinc/flux/common/text/Text;Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity;Ljava/util/Map;)V%R
SrootFieldsVisitor&Lcom/groupbyinc/flux/index/mapper/Uid;1Lcom/groupbyinc/flux/common/bytes/BytesReference;nestedParsedSourceLjava/util/List<*>;5Ljava/util/Map;
nestedPathextractedValueLjava/lang/Object;nested5Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity;tuple?Lcom/groupbyinc/flux/common/collect/Tuple;>;*Lcom/groupbyinc/flux/common/collect/Tuple;sourceAsMapnestedSourceAsMapcurrentcontentType2Lcom/groupbyinc/flux/common/xcontent/XContentType;nestedSourcenestedTopDocIdnestedSubDocIdrootSubDocId
needSourcenestedObjectMapper/Lcom/groupbyinc/flux/index/mapper/ObjectMapper;nestedIdentityhasStoredFieldspN
Hq+?nestedFieldsVisitorgetParentObjectMappera(Lcom/groupbyinc/flux/index/mapper/MapperService;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper;uv
w8()Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Nested;^y
zisNested|N
}nestedTypeFilterj
?5com/groupbyinc/flux/common/apache/lucene/search/Query?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?scorer|(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Scorer;??
??6com/groupbyinc/flux/common/apache/lucene/search/Scorer?D()Lcom/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator;n?
??@com/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator?advance?
?????nextDoc?-
??length?-
|?	substring(I)Ljava/lang/String;??
|?K(Ljava/lang/String;ILcom/groupbyinc/flux/search/SearchHit$NestedIdentity;)V%?
?parentFilter7Lcom/groupbyinc/flux/common/apache/lucene/search/Query;childFilterchildWeight8Lcom/groupbyinc/flux/common/apache/lucene/search/Weight;childScorer8Lcom/groupbyinc/flux/common/apache/lucene/search/Scorer;	childIterBLcom/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator;
parentBitsoffset
nextParent
currentPrefix0Lcom/groupbyinc/flux/index/mapper/MapperService;
currentParentnestedParentObjectMapperoriginalName'
b?reader=()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;??
??9com/groupbyinc/flux/common/apache/lucene/index/LeafReader?documentG(ILcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor;)V??
??=com/groupbyinc/flux/search/fetch/FetchPhaseExecutionException?Failed to fetch doc id [?(I)Ljava/lang/StringBuilder;??
??]?](Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;Ljava/lang/Throwable;)V%?
??
searchContext
readerContextfieldVisitorjava/lang/Class?desiredAssertionStatus?N
??CodeLocalVariableTableLocalVariableTypeTableLineNumberTable	SignatureE(Ljava/util/List;)V
StackMapTable
Exceptions?(Lcom/groupbyinc/flux/search/internal/SearchContext;IIILjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/search/SearchHit;(Lcom/groupbyinc/flux/search/internal/SearchContext;ILjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Ljava/util/Map;
SourceFileInnerClasses!!"#$
%&??0*?)*++?/`??3?4?6*?6+?/?8Y*?;S??0<=0!??0!>?LMN/O??@A?5??<=BC?SDA??MN+?L:?.+?P?+?S?+?UY?X?\W?bY+?e?f:??i?	:?
+?L?m?q:?v???z?|:~???0+?S?
+?????:+?UY???????\W??????-???Y??N-??W?O+??:?-+???$??Y??Y???????????????,???Y??M,??W??G+?e6,?-??bY?f:?$??Y,?	?ɧ,-?	?̧-??:+?ҽ:?	Y??:6+?Ң?+?ؙ
??Yܷݿ+??+??`.6		+?????6
+????
????:	?d6*+?6

?*+	
,-?:?*+	?:S+??*?6:?66?2:+???????.*?6:?6	6

	?
2:+??
???+??!Y+?%?++?%?/?2?8?:?>??O??F?7?@E?@?Y??DABl?CD+?@7E$?FG#
HI??J	??K
??LM?vN?BFG?kO
d?PU
HIX+5?a"QR?ST?<=?BCO@?@?jV?W?
?IY??jU?WX??:XYZ
\^_*a:bBdHflgvh?j?k?m?n?o?q?s?t?v?w?z?{}?? ?.?A?O?X?a?m?t?~????????????????????#?-?3?9?U?_?e??????????^?*^+`
?
s?-|BU?6?????
H^+`..?H^+`..^?	H^+`..^?H^+`..^+?H^+`b??	?cH^+`b?	???#4?	H^+`b?	??
4?? H^+`bF??.+?]?b?%+?f?l?r,?x:?}?
?????4??.<=.BC.LM.N??
??%?,??,?F
?0?,??Y???*+,??,+?]??:,?????h??Y,??????:,??????:?v?<?z?:????Y???|???+????W???+?],??????:???Y,??????:?
??:?Y,??????:	+?̶?:

??,???
,?۶?	???
f*??????<=?BC??@?J?N?LM"????Y???:???%FG	???
?f*??"????R??
???"?.?@?f????????????????????????$
?Bs?B?'????6?	?}+?e?
+????6?
+??3?bY?f:	*+	??	+?]??	??:
	??:?+???:
:*+??:	+?]
????:+?̶?:

??+??:??????Y???*++?]?:?F?	:??:??Y?:::????:??Y???W?:?+?
?+:? ??
?:??!Y#?$?????5+?]?(?)??Y??Y??*???-??/????????2???:?6???W???Y?:??W:?6:?? +?̶??9?:?D?J?M:+?̶???+?̶??Q?Y
????	?T??B ,"U@	G
?V
N?WX?*X??w???[D	?\]8?X???^_?;`b?1c??(d??$e??'fg?hW<=BCijkjVW?LMZ??V
]??Wl$k???	y???????
??mn?_o_?pXY*XY?wZ8?XY?;`a?1cZ?(dZ?$eZjUWXk???	??2??!?,?7?@?G?N?Q?Z?]?f?k?y??????????????????????		
#-8IRex? ?!?#?$?%??(?)?*?+?,.??@?
/????JH^+??????7H^+??????:|?
+?'??	?<H^+??????F?????D
?:+?r??+?L?m?s????Y-?	?ɧ-?	?̧??:??*+??+?]???????j??Y??????:??????:?v?<?z?:		????Y	???|	???+????W?????\	?*??	;?t@?<=?BC?j?jV?W??LM????*?*??	?jU?WX????6
345-6;7@8J9S:`;s<?=?>?B???'H^+??H^+?^?
H^+?^?H^+?^+?Nbs?B???26:?-::	?x:

?
?{?~?

:??
??:??l:??:?

:??+????:

-??:?

:????:+?f?r-?x:6??6`??6??????6???6
Y::??
?-??`6?Y??	??:	?
?-:??	???8???J@???G???_???
g???z????s???p??g?? ?<=BCjLMZ?mn???n
?en??D?o_	??#IKLMPQR*S.T1V;X@[G\L]P^S`_agblcpdsfzh?j?k?l?n?m?p?q?r?s?t?u?wx???
H?_|?	????????.H?_|?????z?I?!H?_|?F????:-??,??-?§+:??Y+??Y??ƶ???˶????ο?F?>&ST:<=:?C:?M:?@:J?|~??9??QF'?'?4?ך?????H?@??*				 	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy