couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Washington <timothyjwashing...@yahoo.ca>
Subject Trying CouchDB / Coucdb-Lucene stack
Date Tue, 03 Aug 2010 17:54:28 GMT
Hi there, 

I am able to successfully run CouchDB ( 0.10.0 ). But now I'm trying to run an 
extra module to give me better querying - 
couchdb-lucene(http://github.com/rnewson/couchdb-lucene). I can install and run 
the thing correctly. But the indexing doesn't seem to be working in my case. I 
tried using the examples directly from the site. But I keep getting an error 
when I try 'http://localhost:5984/baron/_fti/_design/foo/by_title?q=CELEBRITY'. 
Here's the error output (w/ debug turned on).

[Tue, 03 Aug 2010 14:57:27 GMT] [debug] [<0.1145.0>] 'GET' 
/baron/_fti/_design/foo/by_title?q=CELEBRITY {1,1}
Headers: 
[{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"localhost:5984"},
          {'Keep-Alive',"115"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) 
Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8"}]

[Tue, 03 Aug 2010 14:57:27 GMT] [debug] [<0.1145.0>] OAuth Params: 
[{"q","CELEBRITY"}]

[Tue, 03 Aug 2010 14:57:28 GMT] [debug] [<0.1145.0>] Minor error in HTTP 
request: {not_found,missing}

[Tue, 03 Aug 2010 14:57:28 GMT] [debug] [<0.1145.0>] Stacktrace: 
[{couch_httpd_db,couch_doc_open,4},
             {couch_httpd_db,db_attachment_req,4},
             {couch_httpd_db,do_db_req,2},
             {couch_httpd,handle_request,5},
             {mochiweb_http,headers,5},
             {proc_lib,init_p_do_apply,3}]

[Tue, 03 Aug 2010 14:57:28 GMT] [debug] [<0.1145.0>] httpd 404 error response:
 {"error":"not_found","reason":"missing"}


[Tue, 03 Aug 2010 14:57:28 GMT] [info] [<0.1145.0>] 127.0.0.1 - - 'GET' 
/baron/_fti/_design/foo/by_title?q=CELEBRITY 404



CouchDB seems to think that i) I'm sending q=query as 'OAuth Params' (it's a 
query to lucene). And there seems to be ii) a 'Minor error in HTTP request: 
{not_found,missing}'. 


Has anyone come across these errors? Has anyone had success setting up a CouchDB 
/ Coucdb-Lucene stack? 


Thanks for any insight
Tim



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