我决定尝试我的第一次用于弹性搜索的简单待办事项列表应用程序。我跟着this video来使用模块,并在模块本身中没有任何修改,我所做的就是创建应用程序并在控制器中添加类search.java。Elasticsearch抛出异常:NoNodeAvailableException发生:没有节点可用
Execution exception
NoNodeAvailableException occured : No node available
In {module:elasticsearch-0.4}/app/controllers/elasticsearch/ElasticSearchController.java (around line 367)
363:
// FIXME Currently we ignore the orderBy and order fields
364:
query.from((page - 1) * getPageSize()).size(getPageSize());
365:
query.hydrate(true);
366:
367:
return query.fetch();
368:
}