Skip to navigation
Couchdb-lucene view and query example with AND and OR conditions
23.06.16
view: { "_id": "_design/search", "fulltext": { "filter": { "index": "function(doc) { var ret=new Document(); ret.add(doc.av0_gauge,{'field':'av0_gauge'});ret.add(doc.av0_length,{'field':'av0_length'}); return ret }" } } } query: http://localhost:5984/sl_style/_fti/_design/search/filter?q=av0_gauge:%281.6%20||%202.0%29%20+%20av0_length:8.0
https://github.com/rnewson/couchdb-lucene/blob/master/README.md
Reply
Anonymous
Information Epoch 1746907833
Think hierarchically.
Home
Notebook
Contact us