Thanks Dave for responding. 1) I am using 5985 port as the default 5984 is configured for test instance. 2) version used: 0.9.0 3) I checked content using curl command 4) I also checked the index by using ./index -liast_all and I see content there. 5) Search doesn't show back any result even with one value and there is no error also.
Best Regards TArun Gupta Project Manager| MPS Limited # 865 | Udyog Vihar Ph- V | Gurgaon | 122016 | India. Direct: +91 124 4760052 | Switchboard: +91 124 4760000 Email: [email protected] www.adi-mps.com Upcoming MPS holiday: 15th Aug -----Original Message----- From: Dave Cottlehuber [mailto:[email protected]] Sent: Monday, July 30, 2012 3:05 PM To: [email protected] Subject: Re: Problem with CouchDB On 30 July 2012 08:19, Tarun Gupta <[email protected]> wrote: > Hello All, > > Have a couch DB running and there is content inside it but whenever I try to fetch data , I always get "zero results back". Please suggest. > The under mentioned error comes for every request. > > >> 17:32:07,067 INFO [STDOUT] url : > >> http://localhost:5985/documents/_external/index?limit=2500&format=xml& > >> searchTimeout=20.0&searchTerm="10.1007%2F0-306-47095-0_20"&precision=0 > >> .66 Hi Tarun, We'll need more info to help you. I'm guessing this is an FTI plugin issue, which I don't know too much about. Sorry if you're already familiar with CouchDB, here's the basic checklist: 1. is there a reason why this couch is running on 5985 instead of 5984, or are you actually trying to use some fulltext search provider, e.g. lucene, elasticsearch? If so, can you share the relevant part of your setup, including ddoc and any local.ini changes? 2. Does "normal" couchdb work here, and what version are you running? Can you check this with curl[1] ? 3. If the above is all good, does your search work with a significantly smaller limit value say limit=1 instead? 4. Can you be more specific[2] about "there is content inside it but whenever I try to fetch data", i.e. *how* are you trying to retrieve data, again preferably with curl. A+ Dave [1]: Preferably output of curl -vX GET <url> so we can see all headers & response info. Check GET http://localhost:5984/documents ,then GET http://localhost:5984/documents/_all_docs?limit=1 also works. Then look at your FTI plugin. [2]: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html This e-mail and/or attachments are confidential and may also be legally privileged. If you are not the intended recipient, any disclosure, copying, distribution or action taken relying on the contents is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately by responding to this e-mail and deleting the contents of the e-mail & related attachments from your system. Though MPS Limited has taken reasonable steps to ensure no viruses are present in this e-mail, it cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments. No contracts may be concluded with MPS through e-mail communication. Please consider the environment before printing this e-mail
