You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "All indexes, types grillo,cote: (should be 4? or 2?)"
echo "In elasticsearch v-0.14.X return 4 with no errors, in v-0.15.X return 2 with error in log"
curl -XGET 'http://localhost:9200/_all/cote,grillo/_count?q=kimchy'
Hi,
I'm a developer of Escargot (gem to use rails with elasticsearch), i also apport some patch to rubberband (elasticsearch for ruby).
I have a problem using elasticsearch version 0.15.0 or later when i search in all indexes, specifying any types throw a error in this case.
The case is as follow:
echo "Create indexs"
curl -XPUT 'http://localhost:9200/first/tweet/1' -d '
{
"user" : "kimchy",
"postDate" : "2009-11-15T14:12:12",
"message" : "trying out Elastic Search"
}';
curl -XPUT 'http://localhost:9200/first/grillo/4' -d '
{
"user" : "kimchy",
"postDate" : "2011-01-15T14:12:12",
"message" : "Elastic Search"
}';
curl -XPUT 'http://localhost:9200/first/cote/3' -d '
{
"user" : "kimchy",
"postDate" : "2011-01-15T14:12:12",
"message" : "Elastic Search"
}';
curl -XPUT 'http://localhost:9200/second/cote/2' -d '
{
"user" : "kimchy",
"postDate" : "2011-01-15T14:12:12",
"message" : "Elastic Search"
}';
curl -XPUT 'http://localhost:9200/third/mencho/5' -d '
{
"user" : "kimchy",
"postDate" : "2011-01-15T14:12:12",
"message" : "Elastic Search"
}';
curl -XPUT 'http://localhost:9200/third/cote/6' -d '
{
"user" : "kimchy",
"postDate" : "2011-01-15T14:12:12",
"message" : "Elastic Search"
}';
echo "Refresh all"
curl -XPOST 'http://localhost:9200/_refresh'
echo "All indexes, types grillo,cote: (should be 4? or 2?)"
echo "In elasticsearch v-0.14.X return 4 with no errors, in v-0.15.X return 2 with error in log"
curl -XGET 'http://localhost:9200/_all/cote,grillo/_count?q=kimchy'
echo "Delete all indexes"
curl -XDELETE 'http://localhost:9200/first/'
curl -XDELETE 'http://localhost:9200/second/'
curl -XDELETE 'http://localhost:9200/third/'
The text was updated successfully, but these errors were encountered: