[Test] Remove unused test resources in core (#25011)
It looks like many unnecessary files remain in the core test resources directory. This commit removes them.
This commit is contained in:
parent
8d88b94372
commit
c66be4a951
|
@ -118,7 +118,6 @@ compileTestJava.options.compilerArgs << "-Xlint:-cast,-deprecation,-rawtypes,-tr
|
|||
forbiddenPatterns {
|
||||
exclude '**/*.json'
|
||||
exclude '**/*.jmx'
|
||||
exclude '**/org/elasticsearch/cluster/routing/shard_routes.txt'
|
||||
}
|
||||
|
||||
task generateModulesList {
|
||||
|
|
|
@ -132,7 +132,6 @@ public class MultiFieldTests extends ESSingleNodeTestCase {
|
|||
), indexService.mapperService()).build(indexService.mapperService());
|
||||
|
||||
String builtMapping = builderDocMapper.mappingSource().string();
|
||||
// System.out.println(builtMapping);
|
||||
// reparse it
|
||||
DocumentMapper docMapper = indexService.mapperService().documentMapperParser().parse("person", new CompressedXContent(builtMapping));
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
@ -1,217 +0,0 @@
|
|||
# Index num_shards _type _id _routing pre_2.0_shard_id current_shard_id
|
||||
index 2 type1 foo null 1 1
|
||||
index 2 type1 foo 42 1 0
|
||||
index 2 type1 foo my_routing_key 0 1
|
||||
index 2 type1 bar null 0 1
|
||||
index 2 type1 bar 42 1 0
|
||||
index 2 type1 bar my_routing_key 0 1
|
||||
index 2 type1 foobar null 0 1
|
||||
index 2 type1 foobar 42 1 0
|
||||
index 2 type1 foobar my_routing_key 0 1
|
||||
index 2 type1 elasticsearch null 0 0
|
||||
index 2 type1 elasticsearch 42 1 0
|
||||
index 2 type1 elasticsearch my_routing_key 0 1
|
||||
index 2 type1 0956317778 null 0 1
|
||||
index 2 type1 0956317778 42 1 0
|
||||
index 2 type1 0956317778 my_routing_key 0 1
|
||||
index 2 type1 0 null 1 0
|
||||
index 2 type1 0 42 1 0
|
||||
index 2 type1 0 my_routing_key 0 1
|
||||
index 2 type2 foo null 1 1
|
||||
index 2 type2 foo 42 1 0
|
||||
index 2 type2 foo my_routing_key 0 1
|
||||
index 2 type2 bar null 0 1
|
||||
index 2 type2 bar 42 1 0
|
||||
index 2 type2 bar my_routing_key 0 1
|
||||
index 2 type2 foobar null 0 1
|
||||
index 2 type2 foobar 42 1 0
|
||||
index 2 type2 foobar my_routing_key 0 1
|
||||
index 2 type2 elasticsearch null 0 0
|
||||
index 2 type2 elasticsearch 42 1 0
|
||||
index 2 type2 elasticsearch my_routing_key 0 1
|
||||
index 2 type2 0956317778 null 0 1
|
||||
index 2 type2 0956317778 42 1 0
|
||||
index 2 type2 0956317778 my_routing_key 0 1
|
||||
index 2 type2 0 null 1 0
|
||||
index 2 type2 0 42 1 0
|
||||
index 2 type2 0 my_routing_key 0 1
|
||||
index 5 type1 foo null 4 1
|
||||
index 5 type1 foo 42 0 1
|
||||
index 5 type1 foo my_routing_key 3 1
|
||||
index 5 type1 bar null 4 3
|
||||
index 5 type1 bar 42 0 1
|
||||
index 5 type1 bar my_routing_key 3 1
|
||||
index 5 type1 foobar null 4 1
|
||||
index 5 type1 foobar 42 0 1
|
||||
index 5 type1 foobar my_routing_key 3 1
|
||||
index 5 type1 elasticsearch null 0 0
|
||||
index 5 type1 elasticsearch 42 0 1
|
||||
index 5 type1 elasticsearch my_routing_key 3 1
|
||||
index 5 type1 0956317778 null 3 4
|
||||
index 5 type1 0956317778 42 0 1
|
||||
index 5 type1 0956317778 my_routing_key 3 1
|
||||
index 5 type1 0 null 1 0
|
||||
index 5 type1 0 42 0 1
|
||||
index 5 type1 0 my_routing_key 3 1
|
||||
index 5 type2 foo null 4 1
|
||||
index 5 type2 foo 42 0 1
|
||||
index 5 type2 foo my_routing_key 3 1
|
||||
index 5 type2 bar null 4 3
|
||||
index 5 type2 bar 42 0 1
|
||||
index 5 type2 bar my_routing_key 3 1
|
||||
index 5 type2 foobar null 4 1
|
||||
index 5 type2 foobar 42 0 1
|
||||
index 5 type2 foobar my_routing_key 3 1
|
||||
index 5 type2 elasticsearch null 0 0
|
||||
index 5 type2 elasticsearch 42 0 1
|
||||
index 5 type2 elasticsearch my_routing_key 3 1
|
||||
index 5 type2 0956317778 null 3 4
|
||||
index 5 type2 0956317778 42 0 1
|
||||
index 5 type2 0956317778 my_routing_key 3 1
|
||||
index 5 type2 0 null 1 0
|
||||
index 5 type2 0 42 0 1
|
||||
index 5 type2 0 my_routing_key 3 1
|
||||
index 100 type1 foo null 49 81
|
||||
index 100 type1 foo 42 75 6
|
||||
index 100 type1 foo my_routing_key 38 1
|
||||
index 100 type1 bar null 34 53
|
||||
index 100 type1 bar 42 75 6
|
||||
index 100 type1 bar my_routing_key 38 1
|
||||
index 100 type1 foobar null 74 41
|
||||
index 100 type1 foobar 42 75 6
|
||||
index 100 type1 foobar my_routing_key 38 1
|
||||
index 100 type1 elasticsearch null 20 90
|
||||
index 100 type1 elasticsearch 42 75 6
|
||||
index 100 type1 elasticsearch my_routing_key 38 1
|
||||
index 100 type1 0956317778 null 18 39
|
||||
index 100 type1 0956317778 42 75 6
|
||||
index 100 type1 0956317778 my_routing_key 38 1
|
||||
index 100 type1 0 null 21 40
|
||||
index 100 type1 0 42 75 6
|
||||
index 100 type1 0 my_routing_key 38 1
|
||||
index 100 type2 foo null 49 81
|
||||
index 100 type2 foo 42 75 6
|
||||
index 100 type2 foo my_routing_key 38 1
|
||||
index 100 type2 bar null 34 53
|
||||
index 100 type2 bar 42 75 6
|
||||
index 100 type2 bar my_routing_key 38 1
|
||||
index 100 type2 foobar null 74 41
|
||||
index 100 type2 foobar 42 75 6
|
||||
index 100 type2 foobar my_routing_key 38 1
|
||||
index 100 type2 elasticsearch null 20 90
|
||||
index 100 type2 elasticsearch 42 75 6
|
||||
index 100 type2 elasticsearch my_routing_key 38 1
|
||||
index 100 type2 0956317778 null 18 39
|
||||
index 100 type2 0956317778 42 75 6
|
||||
index 100 type2 0956317778 my_routing_key 38 1
|
||||
index 100 type2 0 null 21 40
|
||||
index 100 type2 0 42 75 6
|
||||
index 100 type2 0 my_routing_key 38 1
|
||||
index2 2 type1 foo null 1 1
|
||||
index2 2 type1 foo 42 1 0
|
||||
index2 2 type1 foo my_routing_key 0 1
|
||||
index2 2 type1 bar null 0 1
|
||||
index2 2 type1 bar 42 1 0
|
||||
index2 2 type1 bar my_routing_key 0 1
|
||||
index2 2 type1 foobar null 0 1
|
||||
index2 2 type1 foobar 42 1 0
|
||||
index2 2 type1 foobar my_routing_key 0 1
|
||||
index2 2 type1 elasticsearch null 0 0
|
||||
index2 2 type1 elasticsearch 42 1 0
|
||||
index2 2 type1 elasticsearch my_routing_key 0 1
|
||||
index2 2 type1 0956317778 null 0 1
|
||||
index2 2 type1 0956317778 42 1 0
|
||||
index2 2 type1 0956317778 my_routing_key 0 1
|
||||
index2 2 type1 0 null 1 0
|
||||
index2 2 type1 0 42 1 0
|
||||
index2 2 type1 0 my_routing_key 0 1
|
||||
index2 2 type2 foo null 1 1
|
||||
index2 2 type2 foo 42 1 0
|
||||
index2 2 type2 foo my_routing_key 0 1
|
||||
index2 2 type2 bar null 0 1
|
||||
index2 2 type2 bar 42 1 0
|
||||
index2 2 type2 bar my_routing_key 0 1
|
||||
index2 2 type2 foobar null 0 1
|
||||
index2 2 type2 foobar 42 1 0
|
||||
index2 2 type2 foobar my_routing_key 0 1
|
||||
index2 2 type2 elasticsearch null 0 0
|
||||
index2 2 type2 elasticsearch 42 1 0
|
||||
index2 2 type2 elasticsearch my_routing_key 0 1
|
||||
index2 2 type2 0956317778 null 0 1
|
||||
index2 2 type2 0956317778 42 1 0
|
||||
index2 2 type2 0956317778 my_routing_key 0 1
|
||||
index2 2 type2 0 null 1 0
|
||||
index2 2 type2 0 42 1 0
|
||||
index2 2 type2 0 my_routing_key 0 1
|
||||
index2 5 type1 foo null 4 1
|
||||
index2 5 type1 foo 42 0 1
|
||||
index2 5 type1 foo my_routing_key 3 1
|
||||
index2 5 type1 bar null 4 3
|
||||
index2 5 type1 bar 42 0 1
|
||||
index2 5 type1 bar my_routing_key 3 1
|
||||
index2 5 type1 foobar null 4 1
|
||||
index2 5 type1 foobar 42 0 1
|
||||
index2 5 type1 foobar my_routing_key 3 1
|
||||
index2 5 type1 elasticsearch null 0 0
|
||||
index2 5 type1 elasticsearch 42 0 1
|
||||
index2 5 type1 elasticsearch my_routing_key 3 1
|
||||
index2 5 type1 0956317778 null 3 4
|
||||
index2 5 type1 0956317778 42 0 1
|
||||
index2 5 type1 0956317778 my_routing_key 3 1
|
||||
index2 5 type1 0 null 1 0
|
||||
index2 5 type1 0 42 0 1
|
||||
index2 5 type1 0 my_routing_key 3 1
|
||||
index2 5 type2 foo null 4 1
|
||||
index2 5 type2 foo 42 0 1
|
||||
index2 5 type2 foo my_routing_key 3 1
|
||||
index2 5 type2 bar null 4 3
|
||||
index2 5 type2 bar 42 0 1
|
||||
index2 5 type2 bar my_routing_key 3 1
|
||||
index2 5 type2 foobar null 4 1
|
||||
index2 5 type2 foobar 42 0 1
|
||||
index2 5 type2 foobar my_routing_key 3 1
|
||||
index2 5 type2 elasticsearch null 0 0
|
||||
index2 5 type2 elasticsearch 42 0 1
|
||||
index2 5 type2 elasticsearch my_routing_key 3 1
|
||||
index2 5 type2 0956317778 null 3 4
|
||||
index2 5 type2 0956317778 42 0 1
|
||||
index2 5 type2 0956317778 my_routing_key 3 1
|
||||
index2 5 type2 0 null 1 0
|
||||
index2 5 type2 0 42 0 1
|
||||
index2 5 type2 0 my_routing_key 3 1
|
||||
index2 100 type1 foo null 49 81
|
||||
index2 100 type1 foo 42 75 6
|
||||
index2 100 type1 foo my_routing_key 38 1
|
||||
index2 100 type1 bar null 34 53
|
||||
index2 100 type1 bar 42 75 6
|
||||
index2 100 type1 bar my_routing_key 38 1
|
||||
index2 100 type1 foobar null 74 41
|
||||
index2 100 type1 foobar 42 75 6
|
||||
index2 100 type1 foobar my_routing_key 38 1
|
||||
index2 100 type1 elasticsearch null 20 90
|
||||
index2 100 type1 elasticsearch 42 75 6
|
||||
index2 100 type1 elasticsearch my_routing_key 38 1
|
||||
index2 100 type1 0956317778 null 18 39
|
||||
index2 100 type1 0956317778 42 75 6
|
||||
index2 100 type1 0956317778 my_routing_key 38 1
|
||||
index2 100 type1 0 null 21 40
|
||||
index2 100 type1 0 42 75 6
|
||||
index2 100 type1 0 my_routing_key 38 1
|
||||
index2 100 type2 foo null 49 81
|
||||
index2 100 type2 foo 42 75 6
|
||||
index2 100 type2 foo my_routing_key 38 1
|
||||
index2 100 type2 bar null 34 53
|
||||
index2 100 type2 bar 42 75 6
|
||||
index2 100 type2 bar my_routing_key 38 1
|
||||
index2 100 type2 foobar null 74 41
|
||||
index2 100 type2 foobar 42 75 6
|
||||
index2 100 type2 foobar my_routing_key 38 1
|
||||
index2 100 type2 elasticsearch null 20 90
|
||||
index2 100 type2 elasticsearch 42 75 6
|
||||
index2 100 type2 elasticsearch my_routing_key 38 1
|
||||
index2 100 type2 0956317778 null 18 39
|
||||
index2 100 type2 0956317778 42 75 6
|
||||
index2 100 type2 0956317778 my_routing_key 38 1
|
||||
index2 100 type2 0 null 21 40
|
||||
index2 100 type2 0 42 75 6
|
||||
index2 100 type2 0 my_routing_key 38 1
|
|
@ -1 +0,0 @@
|
|||
version1
|
|
@ -1 +0,0 @@
|
|||
version1
|
|
@ -1 +0,0 @@
|
|||
version2
|
|
@ -1 +0,0 @@
|
|||
version1
|
|
@ -1 +0,0 @@
|
|||
version2
|
|
@ -1 +0,0 @@
|
|||
version1
|
|
@ -1 +0,0 @@
|
|||
version3
|
|
@ -1 +0,0 @@
|
|||
version2
|
|
@ -1 +0,0 @@
|
|||
version1
|
|
@ -1 +0,0 @@
|
|||
version3
|
|
@ -1 +0,0 @@
|
|||
version2
|
|
@ -1,55 +0,0 @@
|
|||
{
|
||||
"person":{
|
||||
"_all":{
|
||||
"enabled":true,
|
||||
"norms":false
|
||||
},
|
||||
"properties":{
|
||||
"name":{
|
||||
"type":"object",
|
||||
"dynamic":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"type":"text",
|
||||
"store":true,
|
||||
"include_in_all":false
|
||||
},
|
||||
"last":{
|
||||
"type":"keyword",
|
||||
"boost":2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"address":{
|
||||
"type":"object",
|
||||
"include_in_all":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"store":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"last":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"include_in_all":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"simple1":{
|
||||
"type":"long",
|
||||
"include_in_all":true
|
||||
},
|
||||
"simple2":{
|
||||
"type":"long",
|
||||
"include_in_all":false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,55 +0,0 @@
|
|||
{
|
||||
"person":{
|
||||
"_all":{
|
||||
"enabled": true ,
|
||||
"index_options" : "freqs"
|
||||
},
|
||||
"properties":{
|
||||
"name":{
|
||||
"type":"object",
|
||||
"dynamic":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"type":"text",
|
||||
"store":true,
|
||||
"include_in_all":false
|
||||
},
|
||||
"last":{
|
||||
"type":"keyword",
|
||||
"boost": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"address":{
|
||||
"type":"object",
|
||||
"include_in_all":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"store":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"last":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"include_in_all":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"simple1":{
|
||||
"type":"long",
|
||||
"include_in_all":true
|
||||
},
|
||||
"simple2":{
|
||||
"type":"long",
|
||||
"include_in_all":false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,55 +0,0 @@
|
|||
{
|
||||
"person":{
|
||||
"_all":{
|
||||
"enabled": true ,
|
||||
"index_options" : "offsets"
|
||||
},
|
||||
"properties":{
|
||||
"name":{
|
||||
"type":"object",
|
||||
"dynamic":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"type":"text",
|
||||
"store":true,
|
||||
"include_in_all":false
|
||||
},
|
||||
"last":{
|
||||
"type":"keyword",
|
||||
"boost": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"address":{
|
||||
"type":"object",
|
||||
"include_in_all":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"store":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"last":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"include_in_all":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"simple1":{
|
||||
"type":"long",
|
||||
"include_in_all":true
|
||||
},
|
||||
"simple2":{
|
||||
"type":"long",
|
||||
"include_in_all":false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
{
|
||||
"person":{
|
||||
"_all":{
|
||||
"enabled": true ,
|
||||
"index_options" : "freqs"
|
||||
},
|
||||
"properties":{
|
||||
"name":{
|
||||
"type":"object",
|
||||
"dynamic":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"type":"text",
|
||||
"store":true,
|
||||
"include_in_all":false
|
||||
},
|
||||
"last":{
|
||||
"type":"keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"address":{
|
||||
"type":"object",
|
||||
"include_in_all":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"store":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"last":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"include_in_all":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"simple1":{
|
||||
"type":"long",
|
||||
"include_in_all":true
|
||||
},
|
||||
"simple2":{
|
||||
"type":"long",
|
||||
"include_in_all":false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"mapping": {
|
||||
"test": {
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"type": "text",
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"testX": {
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
{
|
||||
"person":{
|
||||
"_all":{
|
||||
"enabled":true
|
||||
},
|
||||
"properties":{
|
||||
"name":{
|
||||
"type":"object",
|
||||
"dynamic":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"type":"text",
|
||||
"store":true,
|
||||
"include_in_all":false
|
||||
},
|
||||
"last":{
|
||||
"type":"keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"address":{
|
||||
"type":"object",
|
||||
"include_in_all":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"store":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"last":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"include_in_all":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"simple1":{
|
||||
"type":"long",
|
||||
"include_in_all":true
|
||||
},
|
||||
"simple2":{
|
||||
"type":"long",
|
||||
"include_in_all":false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
{
|
||||
"person":{
|
||||
"_all":{
|
||||
"enabled":true,
|
||||
"store":true
|
||||
},
|
||||
"properties":{
|
||||
"name":{
|
||||
"type":"object",
|
||||
"dynamic":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"type":"text",
|
||||
"store":true,
|
||||
"include_in_all":false
|
||||
},
|
||||
"last":{
|
||||
"type":"keyword",
|
||||
"boost":2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"address":{
|
||||
"type":"object",
|
||||
"include_in_all":false,
|
||||
"properties":{
|
||||
"first":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text",
|
||||
"store":true
|
||||
}
|
||||
}
|
||||
},
|
||||
"last":{
|
||||
"properties":{
|
||||
"location":{
|
||||
"type":"text"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"simple1":{
|
||||
"type":"long",
|
||||
"include_in_all":true
|
||||
},
|
||||
"simple2":{
|
||||
"type":"long",
|
||||
"include_in_all":false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"name":{
|
||||
"first":"shay",
|
||||
"last":"banon"
|
||||
},
|
||||
"address":{
|
||||
"first":{
|
||||
"location":"first location"
|
||||
},
|
||||
"last":{
|
||||
"location":"last location"
|
||||
}
|
||||
},
|
||||
"simple1":1,
|
||||
"simple2":2
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"date_detection" : false,
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"dynamic_date_formats" : ["yyyy-MM-dd", "dd-MM-yyyy"],
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"dynamic_templates" : [
|
||||
{
|
||||
"dynamic_template_name" : {
|
||||
"match" : "*",
|
||||
"mapping" : {
|
||||
"store" : true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"numeric_detection" : false,
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"type":{
|
||||
"properties":{
|
||||
"a":{
|
||||
"type":"multi_field",
|
||||
"fields":{
|
||||
"a":{
|
||||
"type":"keyword"
|
||||
},
|
||||
"b":{
|
||||
"type":"completion"
|
||||
}
|
||||
}
|
||||
},
|
||||
"b":{
|
||||
"type":"multi_field",
|
||||
"fields":{
|
||||
"a":{
|
||||
"type":"keyword"
|
||||
},
|
||||
"b":{
|
||||
"type":"completion"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
"type":{
|
||||
"properties":{
|
||||
"a":{
|
||||
"type":"multi_field",
|
||||
"fields":{
|
||||
"a":{
|
||||
"type":"text",
|
||||
"index":false
|
||||
},
|
||||
"b":{
|
||||
"type":"geo_point"
|
||||
}
|
||||
}
|
||||
},
|
||||
"b":{
|
||||
"type":"multi_field",
|
||||
"fields":{
|
||||
"a":{
|
||||
"type":"keyword"
|
||||
},
|
||||
"b":{
|
||||
"type":"geo_point"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
"person": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "multi_field",
|
||||
"fields": {
|
||||
"indexed": {
|
||||
"type": "text"
|
||||
},
|
||||
"not_indexed": {
|
||||
"type": "text",
|
||||
"index": "no",
|
||||
"store": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"age": {
|
||||
"type": "multi_field",
|
||||
"fields": {
|
||||
"not_stored": {
|
||||
"type": "long"
|
||||
},
|
||||
"stored": {
|
||||
"type": "long",
|
||||
"store": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
{
|
||||
"_id":"1",
|
||||
"name":{
|
||||
"first":"shay",
|
||||
"last":"banon"
|
||||
},
|
||||
"address":{
|
||||
"first":{
|
||||
"location":"first location"
|
||||
},
|
||||
"last":{
|
||||
"location":"last location"
|
||||
}
|
||||
},
|
||||
"age":32,
|
||||
"birthDate":"1977-11-15",
|
||||
"nerd":true,
|
||||
"dogs":["buck", "mia"],
|
||||
"complex":[
|
||||
{
|
||||
"value1":"value1"
|
||||
},
|
||||
{
|
||||
"value2":"value2"
|
||||
}
|
||||
],
|
||||
"complex2":[
|
||||
[
|
||||
{
|
||||
"value1":"value1"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"value2":"value2"
|
||||
}
|
||||
]
|
||||
],
|
||||
"nullValue":null
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
person:{
|
||||
_id:"1",
|
||||
name:{
|
||||
first:"shay",
|
||||
last:"banon"
|
||||
},
|
||||
address:{
|
||||
first:{
|
||||
location:"first location"
|
||||
},
|
||||
last:{
|
||||
location:"last location"
|
||||
}
|
||||
},
|
||||
age:32,
|
||||
birthDate:"1977-11-15",
|
||||
nerd:true,
|
||||
dogs:["buck", "mia"],
|
||||
complex:[
|
||||
{
|
||||
value1:"value1"
|
||||
},
|
||||
{
|
||||
value2:"value2"
|
||||
}
|
||||
],
|
||||
complex2:[
|
||||
[
|
||||
{
|
||||
value1:"value1"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
value2:"value2"
|
||||
}
|
||||
]
|
||||
],
|
||||
nullValue:null
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"template" : "foo*",
|
||||
"order" : 10,
|
||||
"settings" : {
|
||||
"index.number_of_shards": 10,
|
||||
"index.number_of_replicas": 0
|
||||
},
|
||||
"aliases" : {
|
||||
"{index}-alias" : {}
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"template" : "foo*",
|
||||
"order" : 10,
|
||||
"settings" : {
|
||||
"number_of_shards": 10,
|
||||
"number_of_replicas": 0
|
||||
},
|
||||
"aliases" : {
|
||||
"{index}-alias" : {}
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"template" : "foo*",
|
||||
"order" : 10,
|
||||
"settings" : {
|
||||
"index" : {
|
||||
"number_of_shards": 10,
|
||||
"number_of_replicas": 0
|
||||
}
|
||||
},
|
||||
"aliases" : {
|
||||
"{index}-alias" : {}
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"mytemplate" : {
|
||||
"template" : "foo*",
|
||||
"order" : 10,
|
||||
"settings" : {
|
||||
"index.number_of_shards": 10,
|
||||
"index.number_of_replicas": 0
|
||||
},
|
||||
"aliases" : {
|
||||
"{index}-alias" : {}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"mytemplate" : {
|
||||
"template" : "foo*",
|
||||
"order" : 10,
|
||||
"settings" : {
|
||||
"number_of_shards": 10,
|
||||
"number_of_replicas": 0
|
||||
},
|
||||
"aliases" : {
|
||||
"{index}-alias" : {}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"mytemplate" : {
|
||||
"template" : "foo*",
|
||||
"order" : 10,
|
||||
"settings" : {
|
||||
"index" : {
|
||||
"number_of_shards": 10,
|
||||
"number_of_replicas": 0
|
||||
}
|
||||
},
|
||||
"aliases" : {
|
||||
"{index}-alias" : {}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
10
|
|
@ -1 +0,0 @@
|
|||
2
|
|
@ -1 +0,0 @@
|
|||
20
|
|
@ -1 +0,0 @@
|
|||
factor*2
|
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"docs" : [
|
||||
{
|
||||
"_index" : "test",
|
||||
"_type" : "type",
|
||||
"_id" : "1",
|
||||
"_source" : false
|
||||
},
|
||||
{
|
||||
"_index" : "test",
|
||||
"_type" : "type",
|
||||
"_id" : "2",
|
||||
"_source" : ["field3", "field4"]
|
||||
},
|
||||
{
|
||||
"_index" : "test",
|
||||
"_type" : "type",
|
||||
"_id" : "3",
|
||||
"_source" : {
|
||||
"include": ["user"],
|
||||
"exclude": ["user.location"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Another Site Plugin</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Welcome to this another elasticsearch plugin</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
site=true
|
||||
description=anotherplugin
|
||||
version=1.0
|
||||
name=anotherplugin
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Dummy Site Plugin</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Welcome to this dummy elasticsearch plugin</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
site=true
|
||||
description=dummy
|
||||
version=1.0
|
||||
name=dummy
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Dummy Site Plugin (subdir)</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Welcome to this dummy elasticsearch plugin</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Dummy Site Plugin (page)</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Welcome to this dummy elasticsearch plugin</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
site=true
|
||||
description=subdir
|
||||
version=1.0
|
||||
name=subdir
|
Loading…
Reference in New Issue