How to create similar design to this one:
{ "_id": "_design/foo", "_rev": "1-166900c56b2e87d91bb48dcf890c84ed", "fulltext": { "by_title": { "index": "function(doc) { var ret=new Document(); ret.add(doc.title); return ret }" } } } taken from this tutorial: BlogPost
I have recompiled my CouchDB to allow couchdb-lucene. github couchdb-lucene
The problem I have is that I couldn't find any appropriate example to try to insert the design without the UI, which allows only design views, not search indexes