Skip to content

Commit 717e42d

Browse files
committed
Merge branch 'develop' of github.com:elasticsearch/elasticsearch-net into develop
2 parents a5d6f33 + 3db7c6c commit 717e42d

File tree

4 files changed

+27
-25
lines changed

4 files changed

+27
-25
lines changed

src/Tests/Nest.Tests.Unit/Core/Map/DynamicTemplates/CompletelyGenericTemplate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"store_generic": {
66
"match": "*",
77
"mapping": {
8-
"store": "yes"
8+
"store": true
99
}
1010
}
1111
}

src/Tests/Nest.Tests.Unit/Core/Map/DynamicTemplates/MultiFieldWithGenericTypes.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"fields": {
99
"{name}": {
1010
"type": "{dynamic_type}",
11-
"store": "no",
11+
"store": false,
1212
"index": "analyzed"
1313
},
1414
"org": {
1515
"type": "{dynamic_type}",
16-
"store": "yes",
16+
"store": true,
1717
"index": "not_analyzed"
1818
},
1919
"suggest": {

src/Tests/Nest.Tests.Unit/Core/Map/Properties/PropertiesTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public void StringProperty()
3131
.TermVector(TermVectorOption.WithPositionsOffsets)
3232
.Boost(1.1)
3333
.CopyTo(p => p.Content, p => p.Country)
34+
.IgnoreAbove(20)
3435
)
3536
)
3637
);
Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
{
2-
"elasticsearchprojects": {
3-
"properties": {
4-
"name": {
5-
"type": "string",
6-
"similarity": "mysimilarity",
7-
"index_name": "my_crazy_name_i_want_in_lucene",
8-
"store": true,
9-
"index": "analyzed",
10-
"term_vector": "with_positions_offsets",
11-
"boost": 1.1,
12-
"null_value": "my_special_null_value",
13-
"norms": {
2+
"elasticsearchprojects": {
3+
"properties": {
4+
"name": {
5+
"type": "string",
6+
"similarity": "mysimilarity",
7+
"index_name": "my_crazy_name_i_want_in_lucene",
8+
"store": true,
9+
"index": "analyzed",
10+
"term_vector": "with_positions_offsets",
11+
"boost": 1.1,
12+
"null_value": "my_special_null_value",
13+
"norms": {
1414
"enabled": true,
1515
"loading": "eager"
1616
},
17-
"omit_norms": true,
18-
"index_options": "positions",
19-
"index_analyzer": "standard",
20-
"search_analyzer": "standard",
21-
"include_in_all": true,
22-
"position_offset_gap": 1,
23-
"copy_to": [ "content", "country" ]
24-
}
25-
}
26-
}
17+
"omit_norms": true,
18+
"index_options": "positions",
19+
"index_analyzer": "standard",
20+
"ignore_above": 20,
21+
"search_analyzer": "standard",
22+
"include_in_all": true,
23+
"position_offset_gap": 1,
24+
"copy_to": [ "content", "country" ]
25+
}
26+
}
27+
}
2728
}

0 commit comments

Comments
 (0)