However, if I set any readers in the database's security options and
call with *proper* credentials, couchdb-lucene fails, with response:
{"code":500,
"reason":"A JSONObject text must begin with '{' at character 1 of
<!DOCTYPE html>\n....... (full text at http://gist.github.com/594894)
I'm guessing couchdb-lucene is not expecting to have to pass on
credentials to couchdb? [Also, why is couchdb responding as if it
received an unauthorised request from a browser?]
Any suggestions?
-Patrick
If so, you need to add a user:pass value to couchdb-lucene's ini file.
The details are in the README under "Security".
Sent from my iPad
(I'm using the readers list to lock down access per db, not
require_valid_user - I created a 'lucene' user and gave it a role to
allow it access to any db for which it has indexes)