2012-04-26 7 views
4

안녕하세요 elasticsearch 버전 0.18.7을 설치했으며 couchdb를 these instructions에 따라 구성했습니다. 탄성 검색을 사용하여 couchdb 인덱싱

{ 
    "ok": true, 
    "_index": "_river", 
    "_type": "tasks", 
    "_id": "_meta", 
    "_version": 2 
} 

다음

curl -GET 'http://10.50.10.86:9200/tasks/tasks?q=*&pretty=true' 

{ 
    "error": "IndexMissingException[[tasks] missing]", 
    "status": 404 
} 
같은 URL에 액세스하려고 할 때,

curl -XPUT '10.50.10.86:9200/_river/tasks/_meta' -d '{ 
    "type": "couchdb", 
    "couchdb": { 
    "host": "10.50.10.86", 
    "port": 5984, 
    "db": "tasks", 
    "filter": null 
    }, 
    "index": { 
    "index": "tasks", 
    "type": "tasks", 
    "bulk_size": "100", 
    "bulk_timeout": "10ms" 
    } 
}' 

과 같은 메시지를 받았습니다 : 나는 다음과 같은 방법으로 색인을 만들려고하고 있어요

m 가이드하십시오. e elasticsearch를 사용하여 couchdb를 인덱싱하는 방법.

답변

1

es_test_db2의 출처가 확실하지 않습니다. 이것의 결과는 무엇입니까?

curl 10.50.10.86:9200/_river/tasks/_status\?pretty=1