Skip to content

Commit 74c0eff

Browse files
committed
update specs
1 parent 1868ec8 commit 74c0eff

File tree

291 files changed

+662
-644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

291 files changed

+662
-644
lines changed

specification/specs/aggregations/AggregationContainer.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class AggregationContainer {
22
adjacency_matrix: AdjacencyMatrixAggregation;
3-
aggregations: Dictionary<string, AggregationContainer>;
4-
average: AverageAggregation;
5-
average_bucket: AverageBucketAggregation;
3+
aggs: Dictionary<string, AggregationContainer>;
4+
avg: AverageAggregation;
5+
avg_bucket: AverageBucketAggregation;
66
bucket_script: BucketScriptAggregation;
77
bucket_selector: BucketSelectorAggregation;
88
bucket_sort: BucketSortAggregation;
@@ -22,8 +22,8 @@ class AggregationContainer {
2222
geo_bounds: GeoBoundsAggregation;
2323
geo_centroid: GeoCentroidAggregation;
2424
geo_distance: GeoDistanceAggregation;
25-
geo_hash: GeoHashGridAggregation;
26-
geo_tile: GeoTileGridAggregation;
25+
geohash_grid: GeoHashGridAggregation;
26+
geotile_grid: GeoTileGridAggregation;
2727
global: GlobalAggregation;
2828
histogram: HistogramAggregation;
2929
ip_range: IpRangeAggregation;
@@ -34,8 +34,8 @@ class AggregationContainer {
3434
min: MinAggregation;
3535
min_bucket: MinBucketAggregation;
3636
missing: MissingAggregation;
37-
moving_average: MovingAverageAggregation;
38-
moving_function: MovingFunctionAggregation;
37+
moving_avg: MovingAverageAggregation;
38+
moving_fn: MovingFunctionAggregation;
3939
nested: NestedAggregation;
4040
parent: ParentAggregation;
4141
percentile_ranks: PercentileRanksAggregation;
@@ -46,7 +46,7 @@ class AggregationContainer {
4646
reverse_nested: ReverseNestedAggregation;
4747
sampler: SamplerAggregation;
4848
scripted_metric: ScriptedMetricAggregation;
49-
serial_differencing: SerialDifferencingAggregation;
49+
serial_diff: SerialDifferencingAggregation;
5050
significant_terms: SignificantTermsAggregation;
5151
significant_text: SignificantTextAggregation;
5252
stats: StatsAggregation;
@@ -56,6 +56,6 @@ class AggregationContainer {
5656
terms: TermsAggregation;
5757
top_hits: TopHitsAggregation;
5858
value_count: ValueCountAggregation;
59-
weighted_average: WeightedAverageAggregation;
59+
weighted_avg: WeightedAverageAggregation;
6060
median_absolute_deviation: MedianAbsoluteDeviationAggregation;
6161
}

specification/specs/aggregations/bucket/date_histogram/DateHistogramAggregation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class DateHistogramAggregation {
55
interval: Union<DateInterval, Time>;
66
calendar_interval: Union<DateInterval, Time>;
77
fixed_interval: Union<DateInterval, Time>;
8-
minimum_document_count: integer;
8+
min_doc_count: integer;
99
missing: Date;
1010
offset: string;
1111
order: HistogramOrder;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class ExtendedBounds<T> {
2-
maximum: T;
3-
minimum: T;
2+
max: T;
3+
min: T;
44
}

specification/specs/aggregations/bucket/histogram/HistogramAggregation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class HistogramAggregation {
22
extended_bounds: ExtendedBounds<double>;
33
field: Field;
44
interval: double;
5-
minimum_document_count: integer;
5+
min_doc_count: integer;
66
missing: double;
77
offset: double;
88
order: HistogramOrder;

specification/specs/aggregations/bucket/rare_terms/RareTermsAggregation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class RareTermsAggregation {
22
exclude: TermsExclude;
33
field: Field;
44
include: TermsInclude;
5-
maximum_document_count: long;
5+
max_doc_count: long;
66
missing: any;
77
precision: double;
88
}

specification/specs/aggregations/bucket/significant_terms/SignificantTermsAggregation.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ class SignificantTermsAggregation {
44
exclude: IncludeExclude;
55
execution_hint: TermsAggregationExecutionHint;
66
field: Field;
7-
google_normalized_distance: GoogleNormalizedDistanceHeuristic;
7+
gnd: GoogleNormalizedDistanceHeuristic;
88
include: IncludeExclude;
9-
minimum_document_count: long;
9+
min_doc_count: long;
1010
mutual_information: MutualInformationHeuristic;
11-
percentage_score: PercentageScoreHeuristic;
12-
script: ScriptedHeuristic;
13-
shard_minimum_document_count: long;
11+
percentage: PercentageScoreHeuristic;
12+
script_heuristic: ScriptedHeuristic;
13+
shard_min_doc_count: long;
1414
shard_size: integer;
1515
size: integer;
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class ChiSquareHeuristic {
2-
background_is_super_set: boolean;
2+
background_is_superset: boolean;
33
include_negatives: boolean;
44
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class GoogleNormalizedDistanceHeuristic {
2-
background_is_super_set: boolean;
2+
background_is_superset: boolean;
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class MutualInformationHeuristic {
2-
background_is_super_set: boolean;
2+
background_is_superset: boolean;
33
include_negatives: boolean;
44
}

specification/specs/aggregations/bucket/significant_text/SignificantTextAggregation.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ class SignificantTextAggregation {
55
execution_hint: TermsAggregationExecutionHint;
66
field: Field;
77
filter_duplicate_text: boolean;
8-
google_normalized_distance: GoogleNormalizedDistanceHeuristic;
8+
gnd: GoogleNormalizedDistanceHeuristic;
99
include: IncludeExclude;
10-
minimum_document_count: long;
10+
min_doc_count: long;
1111
mutual_information: MutualInformationHeuristic;
12-
percentage_score: PercentageScoreHeuristic;
13-
script: ScriptedHeuristic;
14-
shard_minimum_document_count: long;
12+
percentage: PercentageScoreHeuristic;
13+
script_heuristic: ScriptedHeuristic;
14+
shard_min_doc_count: long;
1515
shard_size: integer;
1616
size: integer;
1717
source_fields: Field[];

specification/specs/aggregations/bucket/terms/TermsAggregation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class TermsAggregation {
44
execution_hint: TermsAggregationExecutionHint;
55
field: Field;
66
include: TermsInclude;
7-
minimum_document_count: integer;
7+
min_doc_count: integer;
88
missing: any;
99
order: TermsOrder[];
1010
script: Script;

specification/specs/aggregations/bucket/terms/TermsInclude.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class TermsInclude {
2-
number_of_partitions: long;
2+
num_partitions: long;
33
partition: long;
44
pattern: string;
55
values: string[];

specification/specs/aggregations/metric/top_hits/TopHitsAggregation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
class TopHitsAggregation {
2-
doc_value_fields: Field[];
2+
docvalue_fields: Field[];
33
explain: boolean;
44
from: integer;
55
highlight: Highlight;
66
script_fields: Dictionary<string, ScriptField>;
77
size: integer;
88
sort: Sort[];
9-
source: Union<boolean, SourceFilter>;
9+
_source: Union<boolean, SourceFilter>;
1010
stored_fields: Field[];
1111
track_scores: boolean;
1212
version: boolean;

specification/specs/analysis/analyzers/FingerprintAnalyzer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ class FingerprintAnalyzer extends AnalyzerBase {
22
max_output_size: integer;
33
preserve_original: boolean;
44
separator: string;
5-
stop_words: StopWords;
6-
stop_words_path: string;
5+
stopwords: StopWords;
6+
stopwords_path: string;
77
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class LanguageAnalyzer extends AnalyzerBase {
22
language: Language;
3-
stem_exclusion_list: string[];
4-
stop_words: StopWords;
3+
stem_exclusion: string[];
4+
stopwords: StopWords;
55
stopwords_path: string;
66
type: string;
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class NoriAnalyzer extends AnalyzerBase {
22
decompound_mode: NoriDecompoundMode;
3-
stop_tags: string[];
3+
stoptags: string[];
44
user_dictionary: string;
55
}

specification/specs/analysis/analyzers/PatternAnalyzer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ class PatternAnalyzer extends AnalyzerBase {
22
flags: string;
33
lowercase: boolean;
44
pattern: string;
5-
stop_words: StopWords;
5+
stopwords: StopWords;
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class SnowballAnalyzer extends AnalyzerBase {
22
language: SnowballLanguage;
3-
stop_words: StopWords;
3+
stopwords: StopWords;
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class StandardAnalyzer extends AnalyzerBase {
22
max_token_length: integer;
3-
stop_words: StopWords;
3+
stopwords: StopWords;
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class StopAnalyzer extends AnalyzerBase {
2-
stop_words: StopWords;
2+
stopwords: StopWords;
33
stopwords_path: string;
44
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
class IcuCollationTokenFilter extends TokenFilterBase {
22
alternate: IcuCollationAlternate;
3-
case_first: IcuCollationCaseFirst;
4-
case_level: boolean;
3+
caseFirst: IcuCollationCaseFirst;
4+
caseLevel: boolean;
55
country: string;
66
decomposition: IcuCollationDecomposition;
7-
hiragana_quaternary_mode: boolean;
7+
hiraganaQuaternaryMode: boolean;
88
language: string;
99
numeric: boolean;
1010
strength: IcuCollationStrength;
11-
variable_top: string;
11+
variableTop: string;
1212
variant: string;
1313
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class IcuTransformTokenFilter extends TokenFilterBase {
2-
direction: IcuTransformDirection;
2+
dir: IcuTransformDirection;
33
id: string;
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class KuromojiPartOfSpeechTokenFilter extends TokenFilterBase {
2-
stop_tags: string[];
2+
stoptags: string[];
33
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class KuromojiTokenizer extends TokenizerBase {
22
discard_punctuation: boolean;
33
mode: KuromojiTokenizationMode;
4-
n_best_cost: integer;
5-
n_best_examples: string;
4+
nbest_cost: integer;
5+
nbest_examples: string;
66
user_dictionary: string;
77
user_dictionary_rules: string[];
88
}

specification/specs/analysis/plugins/phonetic/PhoneticTokenFilter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class PhoneticTokenFilter extends TokenFilterBase {
22
encoder: PhoneticEncoder;
3-
language_set: PhoneticLanguage[];
4-
max_code_length: integer;
3+
languageset: PhoneticLanguage[];
4+
max_code_len: integer;
55
name_type: PhoneticNameType;
66
replace: boolean;
77
rule_type: PhoneticRuleType;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class ConditionTokenFilter extends TokenFilterBase {
22
script: Script;
3-
filters: string[];
3+
filter: string[];
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class NoriPartOfSpeechTokenFilter extends TokenFilterBase {
2-
stop_tags: string[];
2+
stoptags: string[];
33
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class StopTokenFilter extends TokenFilterBase {
22
ignore_case: boolean;
33
remove_trailing: boolean;
4-
stop_words: StopWords;
5-
stop_words_path: string;
4+
stopwords: StopWords;
5+
stopwords_path: string;
66
}

specification/specs/analysis/token_filters/word_delimiter/WordDelimiterTokenFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class WordDelimiterTokenFilter extends TokenFilterBase {
66
generate_word_parts: boolean;
77
preserve_original: boolean;
88
protected_words: string[];
9-
protected_words_path: string;
9+
protected_words_path : string;
1010
split_on_case_change: boolean;
1111
split_on_numerics: boolean;
1212
stem_english_possessive: boolean;

specification/specs/analysis/token_filters/word_delimiter_graph/WordDelimiterGraphTokenFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class WordDelimiterGraphTokenFilter extends TokenFilterBase {
77
generate_word_parts: boolean;
88
preserve_original: boolean;
99
protected_words: string[];
10-
protected_words_path: string;
10+
protected_words_path : string;
1111
split_on_case_change: boolean;
1212
split_on_numerics: boolean;
1313
stem_english_possessive: boolean;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class CharGroupTokenizer extends TokenizerBase {
2-
tokenize_on_characters: string[];
2+
tokenize_on_chars: string[];
33
}

specification/specs/cat/cat_aliases/CatAliasesRecord.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ class CatAliasesRecord implements ICatRecord {
22
alias: string;
33
filter: string;
44
index: string;
5-
index_routing: string;
6-
search_routing: string;
5+
indexRouting: string;
6+
searchRouting: string;
77
}

specification/specs/cat/cat_allocation/CatAllocationRecord.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class CatAllocationRecord implements ICatRecord {
2-
disk_available: string;
3-
disk_ratio: string;
4-
disk_used: string;
2+
diskAvail: string;
3+
diskRatio: string;
4+
diskUsed: string;
55
ip: string;
66
node: string;
77
shards: string;
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
class CatHealthRecord implements ICatRecord {
22
cluster: string;
33
epoch: string;
4-
initializing: string;
5-
node_data: string;
6-
node_total: string;
4+
init: string;
5+
'node.data': string;
6+
'node.total': string;
77
pending_tasks: string;
8-
primary: string;
9-
relocating: string;
8+
pri: string;
9+
relo: string;
1010
shards: string;
1111
status: string;
1212
timestamp: string;
13-
unassigned: string;
13+
unassign: string;
1414
}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
class CatIndicesRecord implements ICatRecord {
2-
docs_count: string;
3-
docs_deleted: string;
2+
'docs.count': string;
3+
'docs.deleted': string;
44
health: string;
55
index: string;
6-
u_u_i_d: string;
7-
primary: string;
8-
primary_store_size: string;
9-
replica: string;
6+
uuid: string;
7+
pri: string;
8+
'pri.store.size': string;
9+
rep: string;
1010
status: string;
11-
store_size: string;
12-
total_memory: string;
11+
'store.size': string;
12+
tm: string;
1313
}

0 commit comments

Comments
 (0)