
com.groupbyinc.flux.index.termvectors.ShardTermVectorsService.class Maven / Gradle / Ivy
???? 3? =com/groupbyinc/flux/index/termvectors/ShardTermVectorsService ;com/groupbyinc/flux/index/shard/AbstractIndexShardComponent ShardTermVectorsService.java Lcom/groupbyinc/flux/index/termvectors/ShardTermVectorsService$ParallelFields ParallelFields >com/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion .com/groupbyinc/flux/common/lucene/uid/Versions DocIdAndVersion 1com/groupbyinc/flux/index/engine/Engine$GetResult 'com/groupbyinc/flux/index/engine/Engine GetResult 0com/groupbyinc/flux/index/engine/Engine$Searcher Searcher 6com/groupbyinc/flux/index/mapper/ParseContext$Document -com/groupbyinc/flux/index/mapper/ParseContext Document +com/groupbyinc/flux/index/engine/Engine$Get Get Gcom/groupbyinc/flux/index/mapper/core/StringFieldMapper$StringFieldType 7com/groupbyinc/flux/index/mapper/core/StringFieldMapper StringFieldType 2com/groupbyinc/flux/index/translog/Translog$Source # +com/groupbyinc/flux/index/translog/Translog % Source Hcom/groupbyinc/flux/action/termvectors/TermVectorsRequest$FilterSettings ( 9com/groupbyinc/flux/action/termvectors/TermVectorsRequest * FilterSettings
indexShard ,Lcom/groupbyinc/flux/index/shard/IndexShard; mappingUpdatedAction ?Lcom/groupbyinc/flux/cluster/action/index/MappingUpdatedAction; dfsAction CLcom/groupbyinc/flux/action/termvectors/dfs/TransportDfsOnlyAction; ?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/settings/IndexSettingsService;Lcom/groupbyinc/flux/cluster/action/index/MappingUpdatedAction;Lcom/groupbyinc/flux/action/termvectors/dfs/TransportDfsOnlyAction;)V *Lcom/groupbyinc/flux/common/inject/Inject; 7com/groupbyinc/flux/index/settings/IndexSettingsService 6 getSettings 0()Lcom/groupbyinc/flux/common/settings/Settings; 8 9
7 : Z(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/common/settings/Settings;)V 3 <
= / 0 ? 1 2 A this ?Lcom/groupbyinc/flux/index/termvectors/ShardTermVectorsService; shardId )Lcom/groupbyinc/flux/index/shard/ShardId; indexSettingsService 9Lcom/groupbyinc/flux/index/settings/IndexSettingsService;
setIndexShard m(Lcom/groupbyinc/flux/index/shard/IndexShard;)Lcom/groupbyinc/flux/index/termvectors/ShardTermVectorsService; - . K getTermVectors ?(Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;Ljava/lang/String;)Lcom/groupbyinc/flux/action/termvectors/TermVectorsResponse; java/io/IOException O java/lang/Throwable Q :com/groupbyinc/flux/action/termvectors/TermVectorsResponse S type ()Ljava/lang/String; U V
+ W id Y V
+ Z 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V 3 \
T ] 3com/groupbyinc/flux/common/apache/lucene/index/Term _ _uid a $com/groupbyinc/flux/index/mapper/Uid c createUidAsBytes ^(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; e f
d g M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V 3 i
` j realtime ()Z l m
+ n 9(ZLcom/groupbyinc/flux/common/apache/lucene/index/Term;)V 3 p
q version ()J s t
+ u 0(J)Lcom/groupbyinc/flux/index/engine/Engine$Get; s w
x versionType )()Lcom/groupbyinc/flux/index/VersionType; z {
+ | V(Lcom/groupbyinc/flux/index/VersionType;)Lcom/groupbyinc/flux/index/engine/Engine$Get; z ~
*com/groupbyinc/flux/index/shard/IndexShard ? get b(Lcom/groupbyinc/flux/index/engine/Engine$Get;)Lcom/groupbyinc/flux/index/engine/Engine$GetResult; ? ?
? ? source 6()Lcom/groupbyinc/flux/index/translog/Translog$Source; ? ?
? java/lang/String ? 5com/groupbyinc/flux/common/apache/lucene/index/Fields ? 1Lcom/groupbyinc/flux/common/bytes/BytesReference; ? ? $ ? doc o(Lcom/groupbyinc/flux/common/bytes/BytesReference;Z)Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest; ? ?
+ ?
u
setDocVersion (J)V ? ?
T ? ,com/groupbyinc/flux/search/dfs/AggregatedDfs ? 8com/groupbyinc/flux/action/termvectors/TermVectorsFilter ? selectedFields ()Ljava/util/Set; ? ?
+ ? handleFieldWildcards >(Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;)V ? ?
? term_vector ? acquireSearcher F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/engine/Engine$Searcher; ? ?
? ? searcher 4()Lcom/groupbyinc/flux/index/engine/Engine$Searcher; ? ?
? reader >()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader; ? ?
? :com/groupbyinc/flux/common/apache/lucene/index/IndexReader ? :com/groupbyinc/flux/common/apache/lucene/index/MultiFields ? getFields u(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; ? ?
? ? docIdAndVersion B()Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion; ? ?
? 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; ? ?
+ ? generateTermVectorsFromDoc u(Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;Z)Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; ? ?
?
setArtificial (Z)V ? ?
T ? setExists ? ?
T ? context BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; ? ?
? @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext ? =()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; ? ?
? ? docId I ? ?
? 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader ? :(I)Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; M ?
? ? perFieldAnalyzer ()Ljava/util/Map; ? ?
+ ? getFieldsToGenerate W(Ljava/util/Map;Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;)Ljava/util/Set; ? ?
?
java/util/Set ? addGeneratedTermVectors ?(Lcom/groupbyinc/flux/index/engine/Engine$GetResult;Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;Ljava/util/Set;)Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; ? ?
? J s ?
? useDfs >(Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;)Z ? ?
? getAggregatedDfs ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;)Lcom/groupbyinc/flux/search/dfs/AggregatedDfs; ? ?
? filterSettings L()Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest$FilterSettings; ? ?
+ ? ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;Ljava/util/Set;Lcom/groupbyinc/flux/search/dfs/AggregatedDfs;)V 3 ?
? ? setSettings M(Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest$FilterSettings;)V
? selectBestTerms ()V
? *com/groupbyinc/flux/ElasticsearchException failed to select best terms java/lang/Object
=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V 3
getFlags ()Ljava/util/EnumSet;
+ setFields ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;Ljava/util/Set;Ljava/util/EnumSet;Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;Lcom/groupbyinc/flux/search/dfs/AggregatedDfs;Lcom/groupbyinc/flux/action/termvectors/TermVectorsFilter;)V
T close
release
%failed to execute term vector request #Ljava/util/Set; Ljava/util/Set; e Ljava/io/IOException; topLevelFields 7Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; @Lcom/groupbyinc/flux/common/lucene/uid/Versions$DocIdAndVersion; ex Ljava/lang/Throwable; request ;Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;
concreteIndex Ljava/lang/String; termVectorsResponse