1
查詢有兩個單詞--->"word1"
和"\"another word\""
。我想補充兩個多搜索查詢到MultiSearchRequestBuilder
,然後執行查詢,但我得到這樣的響應:Lucene抽象方法在Elasticsearch 2.2.0中執行多重分析時出現錯誤
{
"responses" : [ {
"took" : 22,
"timed_out" : false,
"_shards" : {
"total" : 6,
"successful" : 4,
"failed" : 2,
"failures" : [ {
"shard" : 2,
"index" : "elasticsearch.test",
"node" : "99LdzvW_T0aBY4UOzNHAIA",
"reason" : {
"type" : "abstract_method_error",
"reason" : "org.apache.lucene.search.TwoPhaseIterator.matchCost()F"
}
} ]
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}, {
"took" : 18,
"timed_out" : false,
"_shards" : {
"total" : 6,
"successful" : 5,
"failed" : 1,
"failures" : [ {
"shard" : 2,
"index" : "elasticsearch.test",
"node" : "rdK2996KQz-H0khDgW7mKg",
"reason" : {
"type" : "abstract_method_error",
"reason" : "org.apache.lucene.search.TwoPhaseIterator.matchCost()F"
}
} ]
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
} ]
}
的問題是,它在ES 2.1.1但不是在ES 2.2.0!
這裏有什麼問題?
你使用嵌入式節點還是「官方」zip? –
這個錯誤實際上來自測試用例。 –
我使用官方郵編 –