wse-1.0.0\etc\wse.conf
[
{elasticsearch, [
%% list of "Elastic Search" running instances
{hosts, [{"127.0.0.1", 9200}, {"127.0.0.1", 9201}]},
%% an arbitrary index name
{index_name, "wse_sample"},
%% how many parallel requests to proceed at most?
{max_parallel_requests, 5},
%% backpressure
{max_backlog, 20}
]}
].
wse-1.0.0\etc\wse.json
{
"settings" : {
"number_of_shards" : 5,
"number_of_replicas" : 1,
"analysis" : {
"analyzer" : {
"default-analyzer" : {
"type" : "custom",
"tokenizer" : "standard",
"filter" : ["mystop", "mystemmer", "lowercase"]
},
"lowercase_analyzer" : {
"type" : "custom",
"tokenizer" : "lowercase",
"filter" : "word_delimiter"
}
},
"filter" : {
"mystemmer" : {
"type" : "stemmer",
"language" : "english"
},
"mystop" : {
"type": "stop",
"stopwords" : ["english"]
}
}
}
},
...