This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function s1(el) { | |
if (el instanceof Array) { | |
s2(el, 1); | |
} | |
else if (typeof el == 'object') { | |
outList.add(s3(el)); | |
} | |
else { | |
outList.add(el); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps 1-3 are the same as part 1 (https://gist.github.com/1453137) | |
1] Create an index called "nested_test" (eg I did this from elasticsearch-head) with 5 shards and 0 replicas | |
(or presumably something like | |
curl -XPUT 'http://localhost:9200/nested_test/' -d ' | |
index : | |
number_of_shards : 5 | |
number_of_replicas : 0 | |
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I managed to get the query to fail a few different ways, one of them appears to be linked to my "random" use of "nested" as the index type while trying to reproduce the "operational" error I occurred. | |
1] Create an index called "nested_test" (eg I did this from elasticsearch-head) with 5 shards and 0 replicas | |
(or presumably something like | |
curl -XPUT 'http://localhost:9200/nested_test/' -d ' | |
index : | |
number_of_shards : 5 | |
number_of_replicas : 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XGET 'http://betadev:9200/document_index,doc_COMMUNITYID/document_index' -d ' | |
{ | |
"query":{ | |
"bool":{ | |
"must":[{ | |
"bool":{ | |
"must":{ | |
"match_all":{} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### 1] Install works fine.... | |
[acp@localhost elasticsearch]$ sudo bin/plugin -install lukas-vlcek/bigdesk | |
-> Installing lukas-vlcek/bigdesk... | |
Trying https://github.com/downloads/lukas-vlcek/bigdesk/bigdesk-0.17.9.zip... | |
Trying https://github.com/lukas-vlcek/bigdesk/zipball/v0.17.9... | |
Trying https://github.com/lukas-vlcek/bigdesk/zipball/master... | |
Downloading ..................................DONE | |
Identified as a _site plugin, moving to _site structure ... | |
Installed bigdesk |
NewerOlder