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: 59
Show newest version
????3+com/groupbyinc/flux/search/fetch/FetchPhasejava/lang/Object&com/groupbyinc/flux/search/SearchPhaseFetchPhase.javaEcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder=com/groupbyinc/flux/common/google/common/collect/ImmutableMap
Builder9com/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/SearchHitNestedIdentityLcom/groupbyinc/flux/search/internal/InternalSearchHit$InternalNestedIdentity5com/groupbyinc/flux/search/internal/InternalSearchHitInternalNestedIdentity6com/groupbyinc/flux/index/mapper/MappedFieldType$Names!0com/groupbyinc/flux/index/mapper/MappedFieldType#Names;com/groupbyinc/flux/index/mapper/object/ObjectMapper$Nested&4com/groupbyinc/flux/index/mapper/object/ObjectMapper(NestedfetchSubPhases1[Lcom/groupbyinc/flux/search/fetch/FetchSubPhase;$assertionsDisabledZU(Ljava/util/Set;Lcom/groupbyinc/flux/search/fetch/innerhits/InnerHitsFetchSubPhase;)V*Lcom/groupbyinc/flux/common/inject/Inject;()V/2
3Acom/groupbyinc/flux/search/fetch/innerhits/InnerHitsFetchSubPhase5
setFetchPhase0(Lcom/groupbyinc/flux/search/fetch/FetchPhase;)V78
69
java/util/Set;size()I=><?toArray(([Ljava/lang/Object;)[Ljava/lang/Object;AB<C,+,	Fthis-Lcom/groupbyinc/flux/search/fetch/FetchPhase;ALjava/util/Set;Ljava/util/Set;innerHitsFetchSubPhaseCLcom/groupbyinc/flux/search/fetch/innerhits/InnerHitsFetchSubPhase;
parseElements()Ljava/util/Map;builderI()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder;PQ
RfieldsT3com/groupbyinc/flux/search/fetch/FieldsParseElementV
W3putm(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder;YZ
	[NO]putAllX(Ljava/util/Map;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder;_`
	abuildA()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;cd
	e
fetchSubPhase0Lcom/groupbyinc/flux/search/fetch/FetchSubPhase;?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder;GLcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder;
preProcess6(Lcom/groupbyinc/flux/search/internal/SearchContext;)Vcontext3Lcom/groupbyinc/flux/search/internal/SearchContext;executejava/io/IOExceptionp1com/groupbyinc/flux/search/internal/SearchContextr
hasFieldNames()Ztu
svhasScriptFieldsxu
syhasFetchSourceContext{u
s|:com/groupbyinc/flux/search/fetch/source/FetchSourceContext~(Z)V/?
?fetchSourceContextq(Lcom/groupbyinc/flux/search/fetch/source/FetchSourceContext;)Lcom/groupbyinc/flux/search/internal/SearchContext;??
s?java/util/List?4com/groupbyinc/flux/index/fieldvisitor/FieldsVisitor?sourceRequested?u
s?
??
fieldNames()Ljava/util/List;??
s?isEmpty?u??iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext?u??next()Ljava/lang/Object;????java/lang/String?*?equals(Ljava/lang/Object;)Z??
??&com/groupbyinc/flux/common/regex/Regex?isSimpleMatchPattern(Ljava/lang/String;)Z??
??java/util/ArrayList?
?3add????_source?>()Lcom/groupbyinc/flux/search/fetch/source/FetchSourceContext;??
s?fetchSource?(Z)Lcom/groupbyinc/flux/search/fetch/source/FetchSourceContext;??
?smartNameFieldTypeF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;??
s?getObjectMapperJ(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/object/ObjectMapper;??
s?"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?3field [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??] isn't a leaf field?toString()Ljava/lang/String;??
??(Ljava/lang/String;)V/?
??stored?u
$?java/util/HashSet?
?3names:()Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Names;??
$?	indexName??
"?<?7com/groupbyinc/flux/index/fieldvisitor/AllFieldsVisitor?
?3:com/groupbyinc/flux/index/fieldvisitor/CustomFieldsVisitor?java/util/Collections?emptySet()Ljava/util/Set;??
??	emptyList??
??#(Ljava/util/Set;Ljava/util/List;Z)V/?
??docIdsToLoadSize?>
s?
38[Lcom/groupbyinc/flux/search/internal/InternalSearchHit;?docIdsToLoad()[I
sdocIdsToLoadFrom>
ssearcher<()Lcom/groupbyinc/flux/search/internal/ContextIndexSearcher;	
s
8com/groupbyinc/flux/search/internal/ContextIndexSearchergetIndexReader>()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;

:com/groupbyinc/flux/common/apache/lucene/index/IndexReaderleaves?
9com/groupbyinc/flux/common/apache/lucene/index/ReaderUtilsubIndex(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/List;ZLjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/search/internal/InternalSearchHit;+,
-createSearchHit?(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/index/fieldvisitor/FieldsVisitor;IILjava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/search/internal/InternalSearchHit;/0
1$com/groupbyinc/flux/ExceptionsHelper3convertToElasticC(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/ElasticsearchException;56
47reset?(Lcom/groupbyinc/flux/search/internal/InternalSearchHit;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;ILcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;)V9:
;hitExecutionNeeded6(Lcom/groupbyinc/flux/search/internal/SearchContext;)Z=>?
hitExecuteq(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext;)VABChitsExecutionNeededE>FhitsExecuten(Lcom/groupbyinc/flux/search/internal/SearchContext;[Lcom/groupbyinc/flux/search/internal/InternalSearchHit;)VHIJfetchResult6()Lcom/groupbyinc/flux/search/fetch/FetchSearchResult;LM
sN6com/groupbyinc/flux/search/internal/InternalSearchHitsPqueryResult6()Lcom/groupbyinc/flux/search/query/QuerySearchResult;RS
sT2com/groupbyinc/flux/search/query/QuerySearchResultVtopDocs;()Lcom/groupbyinc/flux/common/apache/lucene/search/TopDocs;XY
WZ7com/groupbyinc/flux/common/apache/lucene/search/TopDocs\	totalHits^$	]_getMaxScore()Fab
]c=([Lcom/groupbyinc/flux/search/internal/InternalSearchHit;JF)V/e
Qf2com/groupbyinc/flux/search/fetch/FetchSearchResulthhits;(Lcom/groupbyinc/flux/search/internal/InternalSearchHits;)Vjk
il
fieldsVisitor6Lcom/groupbyinc/flux/index/fieldvisitor/FieldsVisitor;	fieldType2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;	fieldNameLjava/lang/String;
loadSource	searchHit7Lcom/groupbyinc/flux/search/internal/InternalSearchHit;	rootDocIdeLjava/io/IOException;docIdreaderIndexsubReaderContextBLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;subDocIdindex#Ljava/util/Set;fieldNamePatterns$Ljava/util/List;Ljava/util/List;extractFieldNames
loadAllStored
hitContext;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext;
mapperService2()Lcom/groupbyinc/flux/index/mapper/MapperService;??
s?.com/groupbyinc/flux/index/mapper/MapperService?	hasNested?u
??bitsetFilterCache<()Lcom/groupbyinc/flux/index/cache/bitset/BitsetFilterCache;??
s?0com/groupbyinc/flux/common/lucene/search/Queries?newNonNestedFilter9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
??8com/groupbyinc/flux/index/cache/bitset/BitsetFilterCache?getBitSetProducer~(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducer;??
??Ccom/groupbyinc/flux/common/apache/lucene/search/join/BitSetProducer?	getBitSetz(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/util/BitSet;????4com/groupbyinc/flux/common/apache/lucene/util/BitSet?(I)Z?
??
nextSetBit(I)I??
??bits6Lcom/groupbyinc/flux/common/apache/lucene/util/BitSet;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??
??TO
???java/util/HashMap??(I)V/?
??entrySet???<?getKey???:com/groupbyinc/flux/search/internal/InternalSearchHitField?getValue???%(Ljava/lang/String;Ljava/util/List;)V/?
??8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;Y??uid(()Lcom/groupbyinc/flux/index/mapper/Uid;??
??$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;??
s?.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;?
?	setSource4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)V
?extractRawValues$(Ljava/lang/String;)Ljava/util/List;	
?
fieldsOrNullO

(Ljava/util/Map;)VT

?&(Ljava/lang/Object;)Ljava/lang/Object;)com/groupbyinc/flux/search/SearchHitField
??values?entryMLjava/util/Map$Entry;>;Ljava/util/Map$Entry;&Lcom/groupbyinc/flux/common/text/Text;valueLjava/lang/Object;hitField+Lcom/groupbyinc/flux/search/SearchHitField;$Ljava/util/List;extractFieldNamesearchFieldsNLjava/util/Map;Ljava/util/Map;1Lcom/groupbyinc/flux/index/mapper/DocumentMapper;sourceLookup0Lcom/groupbyinc/flux/search/lookup/SourceLookup;	highlight?()Lcom/groupbyinc/flux/search/highlight/SearchContextHighlight;,-
s.getSearchFields?(Lcom/groupbyinc/flux/search/internal/SearchContext;IZLjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Ljava/util/Map;01
2findNestedObjectMapper?(ILcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/index/mapper/object/ObjectMapper;45
?6-.	8java/lang/AssertionError:
;3getInternalNestedIdentity-(Lcom/groupbyinc/flux/search/internal/SearchContext;ILcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/index/mapper/DocumentMapper;Lcom/groupbyinc/flux/index/mapper/object/ObjectMapper;)Lcom/groupbyinc/flux/search/internal/InternalSearchHit$InternalNestedIdentity;=>
?2com/groupbyinc/flux/common/xcontent/XContentHelperAconvertToMap^(Lcom/groupbyinc/flux/common/bytes/BytesReference;Z)Lcom/groupbyinc/flux/common/collect/Tuple;CD
BE(com/groupbyinc/flux/common/collect/TupleGv2I?
HJ/com/groupbyinc/flux/common/bytes/BytesReferenceLgetFieldN?OstringQ?
?R=com/groupbyinc/flux/common/xcontent/support/XContentMapValuesTextractValue5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;VW
UX
singletonList$(Ljava/lang/Object;)Ljava/util/List;Z[
?\java/lang/IllegalStateException^,extracted source isn't an object or an array`
_?	getOffsetc>dgetChild7()Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity;fgh
?jv1l?
Hm0com/groupbyinc/flux/common/xcontent/XContentTypeo3com/groupbyinc/flux/common/xcontent/XContentFactoryqcontentBuilderi(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;st
ru3com/groupbyinc/flux/common/xcontent/XContentBuilderwmapF(Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;yz
x{bytes}
x~setSourceContentType5(Lcom/groupbyinc/flux/common/xcontent/XContentType;)V??
???(ILjava/lang/String;Lcom/groupbyinc/flux/common/text/Text;Lcom/groupbyinc/flux/search/internal/InternalSearchHit$InternalNestedIdentity;Ljava/util/Map;)V/?
?nestedParsedSourceGLjava/util/List;>;extractedValuetuple?Lcom/groupbyinc/flux/common/collect/Tuple;>;*Lcom/groupbyinc/flux/common/collect/Tuple;sourceAsMap5Ljava/util/Map;nested5Lcom/groupbyinc/flux/search/SearchHit$NestedIdentity;contentType2Lcom/groupbyinc/flux/common/xcontent/XContentType;nestedSource1Lcom/groupbyinc/flux/common/bytes/BytesReference;nestedTopDocIdnestedSubDocIdrootSubDocIdrootFieldsVisitornestedObjectMapper6Lcom/groupbyinc/flux/index/mapper/object/ObjectMapper;nestedIdentityNLcom/groupbyinc/flux/search/internal/InternalSearchHit$InternalNestedIdentity;nestedFieldsVisitorname??
)?findParentObjectMappern(Lcom/groupbyinc/flux/index/mapper/object/ObjectMapper;)Lcom/groupbyinc/flux/index/mapper/object/ObjectMapper;??
???()Lcom/groupbyinc/flux/index/mapper/object/ObjectMapper$Nested;??
)?isNested?u
'?nestedTypeFilter??
)?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;??
??@com/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator?advance??
?????nextDoc?>
??length?>
??	substring(I)Ljava/lang/String;??
??d(Ljava/lang/String;ILcom/groupbyinc/flux/search/internal/InternalSearchHit$InternalNestedIdentity;)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
currentPrefix
currentParentnestedParentObjectMappercurrentoriginalName92
??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u
CodeLocalVariableTableLocalVariableTypeTableLineNumberTable	Signature?(Ljava/util/Set;Lcom/groupbyinc/flux/search/fetch/innerhits/InnerHitsFetchSubPhase;)VRuntimeVisibleAnnotations
StackMapTableU()Ljava/util/Map;
Exceptions
(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/index/fieldvisitor/FieldsVisitor;IILjava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/search/internal/InternalSearchHit;(Lcom/groupbyinc/flux/search/internal/SearchContext;IIILjava/util/List;ZLjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/search/internal/InternalSearchHit;(Lcom/groupbyinc/flux/search/internal/SearchContext;IZLjava/util/Set;Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Ljava/util/Map;
SourceFileInnerClasses!+,-./0?.*?4,*?:*++?@`??D?E?G*?G+?@,S? .HI.+K.LM.+JOP	Q!R-S	
1NO?@?SL+U?WY?X?\W*?GM,?>6?,2:+?^?bW????+?f? )gh@HI<Nj<NiWXY)Z5Y;\?	E?kl5?HImnaol?

MN:6+?w?.+?z?+?}?+?Y????W??Y+????:?+???????Y+????:?c+????:????????:????	6??????-???Y??N-??W???????&+?}?+????W???+?Y????W???+??:		?-+???b??Y??Y??ζ???ԶҶطۿ	?ޙ!,???Y??M,	????W????Y??:??W?????Y??:?\,?-?:?
+????6??Y,?	???,-?	???-??:???Y?
+??????:+???:?Y??:6		+????+?+?	`.6

+????6+???? ?":
?&d6
*+
?*6?*+

,-?.:?*+

?2:?:?8?	S
+??<*?G:?66?%2:+?@?
+?D???ڄ	??#*?G:		?6
6
?%	2:+?G?
+?K????+?O?QY+?U?[?`?+?U?[?d?g?m?ORq9noUno?mpq	y?rs\noz!t.?no;uv /w$OuvTxy?gh??z$
??{$?|}?~$
ZMuv??$	?gh
HI
mn?Rno?K????
?.?Ij??@?? ??????Gfghj
kmn,p<qHrXtyu?v?w?x?y?z?|?}?????????????????
???!?3?8?A?K?N?S?_?g?z????????????????????? ?&?>?O?R?T?Z?a?p???????????????????	?)?,s<???
??%??6$
?	?@?s<??zz?s<??zz26:??::	??:

?
?????

:??
??:???:??:?

:??+???:

-??:?

:????:+????-??:6??6`??6?ğ???6???6
Y::??
????`6?Y??	??:	?
??:??	??8???z$@???G???_???
g???z????s???p?$?g?$? ?$HImn?$|}?)???$???
?????s???	?#iklmpqr*s.t1v;x@{G|L}P~S?_?g?l?p?s?z????????????????????????????
s"?))??)	????????.s"?))?)???????I?!s"?))?)
q???:-??,??-??+:??Y+??Y????????Ҷ?????q>&xy:HI:?n:?}:?o:z$?????9?Qq'?24????9?J@:					 "$%	')*	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy