couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Agustyana <>
Subject how to make sure couchdb-lucene is working ?
Date Mon, 24 Jan 2011 15:10:54 GMT
hi All

i've installed couchdb 1.0.1 via CouchDBX on OSX Leopard then installed
couchdb-lucene 0.6.0 and added configuration below

os_process_timeout=60000 ; increase the timeout from 5 seconds.


_fti = {couch_httpd_external, handle_external_req, <<"fti">>}

then execute ./bin/run and gave me output like this

2011-01-24 21:41:21,828 INFO [Main] Index output goes to:
2011-01-24 21:41:21,860 INFO [Main] Accepting connections with
Jan 24, 2011 9:41:21 PM org.mortbay.log.Slf4jLog info
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
Jan 24, 2011 9:41:22 PM org.mortbay.log.Slf4jLog info
INFO: jetty-6.1.20
Jan 24, 2011 9:41:22 PM org.mortbay.log.Slf4jLog info
INFO: Started SelectChannelConnector@localhost:5985

i didn't see any errors so i assumed couchdb-lucene is worked

and then i created project_app database and add data to it

   "_id": "12ecdb20c189895ca50579a3550010af",
   "_rev": "1-2491abee5588e2b9cc1bb82907eda5f8",
   "name": "ms ultimate",
   "created_at": "2011/01/24 20:30:08",
   "updated_at": "2011/01/24 20:30:08",
   "doc_type": "Project",
   "client_id": "Microsoft",
   "description": "ultimate software"

and then i create index function and add it to futon

    "fulltext": {
        "by_name": {
            "index":"function(doc) { var ret=new Document(); ret.add(; return ret }"
        "by_description": {
            "index":"function(doc) { var ret=new Document();
ret.add(doc.description); return ret }"

however when i tried to access
http://localhost:5984/project_app/_fti/_design/foo/by_name?q=ultimate via
browser, it gave me response like this


even i accessed  http://localhost:5984/project_app/_fti, it gave me same

i also tried to ls couchdb-lucene/indexes directory and found nothing

i'm not sure what the problem, seems couchdb won't connect to couchdb-lucene
at all, so what should i do to solve this ?, any help would be appreciated



profile :
ym / twitter : kirconboy
skype : adit_skype

Be Nice. Treat others with the same respect you'd want them to treat you.
We're all here to learn together.  Be tolerant of others who may not know
everything you know. BRING YOUR SENSE OF HUMOR (

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message