elasticsearch Elasticsearch CouchDB结果包含错误的文档
我最新的_changes提要显示某些文档(大多数已被删除): 但是,Elasticsearch生成的文档我不知道它们来自何处:elasticsearch Elasticsearch CouchDB结果包含错误的文档,elasticsearch,couchdb,elasticsearch,Couchdb,我最新的_changes提要显示某些文档(大多数已被删除): 但是,Elasticsearch生成的文档我不知道它们来自何处: curl http://localhost:9200/portal_development/_search?pretty=true -d ' { "from" : 0, "size" : 20, "query" : { "query_string" : { "query" : "2:*"
curl http://localhost:9200/portal_development/_search?pretty=true -d '
{
"from" : 0, "size" : 20,
"query" : {
"query_string" : {
"query" : "2:*"
}
}
}'
{
"took" : 33,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 53,
"max_score" : 1.0,
"hits" : [ {
"_index" : "portal_development",
"_type" : "portal_development",
"_id" : "Document-3744",
"_score" : 1.0, "_source" : {...
}, {
"_index" : "portal_development",
"_type" : "portal_development",
"_id" : "Document-3751",
"_score" : 1.0, "_source" : {...
}, {
"_index" : "portal_development",
"_type" : "portal_development",
"_id" : "Document-3732",
"_score" : 1.0, "_source" : {
} ]
}
}
这到底是怎么回事?什么原因会导致这种情况?你是从一个空索引开始的吗?我尝试过删除elasticsearch couchdb river。。。但我还是回到同一个问题上来。我不确定这是否意味着我返回了一个空索引?您是否尝试删除portal\u开发索引?删除河流不会删除数据。哦。。。不,我试试看。如何删除索引?顺便问一下,关于这类东西的文档有哪些好的资源?我需要更深入地了解Elasticsearch。
curl http://localhost:9200/portal_development/_search?pretty=true -d '
{
"from" : 0, "size" : 20,
"query" : {
"query_string" : {
"query" : "2:*"
}
}
}'
{
"took" : 33,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 53,
"max_score" : 1.0,
"hits" : [ {
"_index" : "portal_development",
"_type" : "portal_development",
"_id" : "Document-3744",
"_score" : 1.0, "_source" : {...
}, {
"_index" : "portal_development",
"_type" : "portal_development",
"_id" : "Document-3751",
"_score" : 1.0, "_source" : {...
}, {
"_index" : "portal_development",
"_type" : "portal_development",
"_id" : "Document-3732",
"_score" : 1.0, "_source" : {
} ]
}
}