Hi Saraj, I use ElasticSearch for this. Easy to install, easy to setup. And for the CouchDB connection you can configure a "river" with only one HTTP call.
http://www.elasticsearch.org/guide/en/elasticsearch/rivers/current/river-couchdb.html kind regards, Egon On Thu, 2013-10-17 at 17:17 +0530, Suraj Kumar wrote: > lucene has been a pain for us thus far to setup. > > I'm now wondering if it would be a simpler idea to build an elaborate > 'expression based doc filtering' List function that outputs json of > documents that match given 'expression' query rule. It's accompanying view > will essentially index the entire document. Perhaps, it would even output > complex other things in the future - like sum/etc., Yes it is O(N) search > with heavy evaluation - but this is OK for now. We can also build a program > that would generate a static map function with custom name to do 'saved > search'. > > > > On Tue, Oct 15, 2013 at 8:21 PM, Jens Alfke <[email protected]> wrote: > > > > > On Oct 15, 2013, at 6:53 AM, Suraj Kumar <[email protected]> wrote: > > > > > I'd like to enable my users to do sub string search of arbitrary > > attributes > > > of documents on-the-fly. Luckily most of the attributes of the documents > > > are like 'enum' or a finite / small range of values. > > > > Have you considered CouchDB-Lucene? It provides full-text search. Somewhat > > overkill for your needs, as I understand them, but definitely easier to use > > than implementing a bunch of code as you’ve described. > > > > —Jens > > > > > -- > An Onion is the Onion skin and the Onion under the skin until the Onion > Skin without any Onion underneath. >
