stop failing the build because of overworked/slow es test servers

This commit is contained in:
Spencer Alger
2014-04-25 14:45:24 -07:00
parent 51e6b32123
commit 00fdc86315
2 changed files with 23 additions and 1 deletions

View File

@ -59,6 +59,15 @@ function createIndex(indexName) {
index: {
number_of_shards: 1,
number_of_replicas: 0
},
analysis: {
analyzer: {
url: {
type: 'standard',
tokenizer: 'uax_url_email',
max_token_length: 1000
}
}
}
},
mappings: {
@ -97,6 +106,10 @@ function createIndex(indexName) {
},
memory: {
type: 'double'
},
referer: {
type: 'string',
index: 'not_analyzed'
}
}
}