hd77
(Christian Schwahn)
May 13, 2016, 10:20am
#1
Does anybody has experience with Elasticsearch and Amazons AWS Server?
I have problems getting an query result from AWS. Configuration is fine, i can build nodeindex. I can seen the index in my AWS account but if i start a curl query i got no hits.
If i try the same locally with an docker elasticsearch image everything is fine …
hd77
(Christian Schwahn)
May 13, 2016, 10:21am
#2
{
“took” : 4,
“timed_out” : false,
"_shards" : {
“total” : 5,
“successful” : 5,
“failed” : 0
},
“hits” : {
“total” : 0,
“max_score” : null,
“hits” : [ ]
}
}
dfeyer
(Dominique Feyer)
May 13, 2016, 8:17pm
#3
Did you check the ElasticSearch log in Data/Logs ? Look like your index exist but it’s empty
hd77
(Christian Schwahn)
May 23, 2016, 7:30am
#4
./flow nodeindex:build
Created index typo3cr-1463988106
Updated Mapping.
Indexing nodes …
Workspace “live” and dimensions “{“language”:[“en”]}” done. (Indexed 39 nodes)
Workspace “live” and dimensions “{“language”:[“de”]}” done. (Indexed 11 nodes)
Workspace “live” and dimensions “{“language”:[“fr”]}” done. (Indexed 1 nodes)
Workspace “live” and dimensions “{“language”:[“nl”]}” done. (Indexed 11 nodes)
Workspace “live” and dimensions “{“language”:[“dk”]}” done. (Indexed 1 nodes)
Workspace “live” and dimensions “{“language”:[“lv”]}” done. (Indexed 1 nodes)
Workspace “user-admin” and dimensions “{“language”:[“en”]}” done. (Indexed 39 nodes)
Workspace “user-admin” and dimensions “{“language”:[“de”]}” done. (Indexed 11 nodes)
Workspace “user-admin” and dimensions “{“language”:[“fr”]}” done. (Indexed 1 nodes)
Workspace “user-admin” and dimensions “{“language”:[“nl”]}” done. (Indexed 11 nodes)
Workspace “user-admin” and dimensions “{“language”:[“dk”]}” done. (Indexed 1 nodes)
Workspace “user-admin” and dimensions “{“language”:[“lv”]}” done. (Indexed 1 nodes)
Done. (indexed 192 nodes)
But you are right, there is one error in logs it may cause the problem:
ElasticsearchIllegalArgumentException[failed to execute script]; nested: ScriptException[dynamic scripting for [groovy] disabled]
Is there any way to change the query configuration?
hd77
(Christian Schwahn)
May 23, 2016, 8:58am
#5
dfeyer
(Dominique Feyer)
May 23, 2016, 9:50pm
#6
Try to use https://www.elastic.co/fr/cloud they support scripting