rnewson / couchdb-lucene

Enables full-text searching of CouchDB documents using Lucene
Apache License 2.0
769 stars 147 forks source link

CouchDB 2.1 compatibility #259

Open bazaglia opened 7 years ago

bazaglia commented 7 years ago

As I've read in previous issues, this plugin is not compatible with CouchDB 2.0/2.1 yet. I couldn't get it running: it seems also that _fti endpoint is NOT available. There's also a new 5986 port which is available but I'm not sure what it does so it stills confusing me. I wasn't able to get CouchDB communicating with Lucene. Any suggestions on how to get it working?

afinne commented 7 years ago

Have you tried querying from 5985 directly? E.g. http://localhost:5985/local/mydb/_design/doc/view ?

rnewson commented 6 years ago

Hi, sorry for the delay. It's true that in CouchDB 2.x that it's no longer possible to add arbitrary endpoints to the 5984 port. You should not use the 5986 port at all, that's a legacy thing that CouchDB will remove in a future release.

couchdb-lucene is compatibile with CouchDB 2.x, the only thing you can't do is hook the querying endpoint directly into the couchdb API.

roderick-unicom commented 6 years ago

Hi @rnewson. I have been researching how to use lucene with couchdb, and wanted some clarification on this. Is it my understanding that this is the same as using Dreyfus and Clouseau with Couchdb? Also, If I already have a 2.1.1 cluster setup and running, could I follow this setup for adding Lucene for my existing environment?

Thanks in advance.