couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suraj Kumar <>
Subject Re: Sub string search (and complex queries) approach review needed
Date Thu, 17 Oct 2013 11:47:40 GMT
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

On Tue, Oct 15, 2013 at 8:21 PM, Jens Alfke <> wrote:

> On Oct 15, 2013, at 6:53 AM, Suraj Kumar <> 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.

The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it. It may contain confidential or legally privileged 
information. If you are not the intended recipient you are hereby notified 
that any disclosure, copying, distribution or taking any action in reliance 
on the contents of this information is strictly prohibited and may be 
unlawful. If you have received this communication in error, please notify 
us immediately by responding to this email and then delete it from your 
system. The firm is neither liable for the proper and complete transmission 
of the information contained in this communication nor for any delay in its 

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