couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Atherton <br...@callenish.com>
Subject Re: Yet Another couchdb-lucene question
Date Fri, 26 Oct 2012 19:07:08 GMT
Exactly bang on. I'm not sure how I made that obvious mistake. Thank you 
so much.

On 12-10-26 01:59 AM, Robert Newson wrote:
>   "fulltext": "{'by_type': {'index': 'function(doc) { var ret = new
> Document(); ret.add(doc.type); return ret; }' } }"
>
> is wrong;
>
>   "fulltext": {"by_type": {"index": "function(doc) { var ret = new
> Document(); ret.add(doc.type); return ret; }'"} }
>
> is right. You packed everything into a string, which confuses
> couchdb-lucene as it expects an object.
>
> B.
>
>


Mime
View raw message