6
나는 mongodb로 탄성 검색을 시도했습니다. http://satishgandham.com/2012/09/a-complete-guide-to-integrating-mongodb-with-elastic-search/탄성 검색 컬 : (7) 호스트에 연결할 수 없습니다
에서
나는 다음 한 단계하지만
curl -XPUT 'http://localhost:9200/_river/mongodb/_meta' -d '
{
"type": "mongodb",
"mongodb": {
"db": "smmc-dart",
"collection": "smmc_collectionDetails"
},
"index": {
"name": "caseName",
"type": "string"
}
}'
내가 내 브라우저에 http://localhost:9200/
시도 오류
curl: (7) couldn't connect to host
받고 있어요하여 인덱스를 설정하려고 할 때 쇼 :
{
"status" : 200,
"name" : "Nicholas Scratch",
"version" : {
"number" : "1.1.0",
"build_hash" : "2181e113dea80b4a9e31e58e9686658a2d46e363",
"build_timestamp" : "2014-03-25T15:59:51Z",
"build_snapshot" : false,
"lucene_version" : "4.7"
},
"tagline" : "You Know, for Search"
}
나는 또한 이런 일이 어떻게 해결하는 이유
curl: (7) couldn't connect to host
을 초래 터미널
curl -XGET http://10.20.4.220:9200/
이를 시도했다.
나는 그것을 고쳤다. 허가가 없기 때문입니다. sudo로 실행할 수있었습니다. – Okky