問題タブ [couchdb-lucene]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
couchdb - カウチに _fti を認識させることができません
これは私のcouchdb local.iniにあります。futon の httpd_global_handlers 設定で確認できるので、問題ないことはわかっています。
_fti = {couch_httpd_proxy, handle_proxy_req, <<" http://127.0.0.1:5985 ">>}
Lucene は正常に動作しています。
しかし、ソファから _fti にアクセスしようとすると、これが発生します...
http://localhost:5984/myDbName/_fti {"error":"not_found","reason":"missing"}
couchdb - couchdb-lucene を使用してネストされたオブジェクトにインデックスを付けるにはどうすればよいですか
インデックス機能
doc
インデックス関数で
サブプロパティのインデックスを作成しようとすると、 ret.add(doc.complaint.status, {field: 'status', type: 'string'})
couchdb-lucene のように 500 が返されます。
カウチデータベースに存在するオブジェクト
{
"customerName": "Roman Maltsev",
"complaint": {
"status": "In progress",
"numberOfCoupons": 10
}
}
プロキシを使用したクエリ
GET http://localhost:5984/_fti/local/complaints-management-rom/_design/find/all?q=status:"In progress"
は 500 を返します