2014-06-06 7 views
0

CouchDB 1.6은 디자인 문서가 options.local_seq = true 인 경우 문서의 _local_seq (또는 seq)을보기에 전달할 수있는 기능을 추가했습니다. couchdb-lucene과 함께 사용하고 싶지만 제대로 작동하지 않을 수 있습니까? 당신이 CouchDB를-루씬에 기능 요청을 열어야 같은couchdb-lucene을 통한 doc._local_seq 속성 색인

{ 
    "_id": "_design/changes", 
    "_rev": "5-e894a1ea6a6768acb22e6597425de4b2", 
    "language": "javascript", 
    "options": { 
     "local_seq": true 
    }, 
    "fulltext": { 
     "replication": { 
      "index": "function(doc) {\n if(doc.context){\n\n var ret = new Document(); \n ret.add(doc.context,{field:'context',store:'yes'});\n ret.add(doc._id,{field:'id',store:'yes',analyze:false});\n ret.add(doc._rev,{field:'rev',store:'yes',analyze:false});\n ret.add(doc._local_seq,{field:'seq',store:'yes',analyze:false});\n\n return ret;\n }\n} " 
     } 
    } 
} 

답변

1

는 소리 : 여기

는 설계 문서입니다 https://github.com/rnewson/couchdb-lucene/issues - 그것은 그 기능이 아직 활성화되어 것처럼에있는 경우는, 보이지 않는 가능한 모든.

+0

감사합니다. 1 월. https://github.com/rnewson/couchdb-lucene/issues/195에서 문제점을 열었습니다. –