Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44648100FD for ; Tue, 15 Oct 2013 14:52:19 +0000 (UTC) Received: (qmail 63754 invoked by uid 500); 15 Oct 2013 14:52:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 63716 invoked by uid 500); 15 Oct 2013 14:52:17 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 63698 invoked by uid 99); 15 Oct 2013 14:52:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 14:52:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jens@couchbase.com designates 206.225.164.32 as permitted sender) Received: from [206.225.164.32] (HELO EXHUB020-5.exch020.serverdata.net) (206.225.164.32) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 14:52:12 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.151]) by EXHUB020-5.exch020.serverdata.net ([206.225.164.32]) with mapi; Tue, 15 Oct 2013 07:51:50 -0700 From: Jens Alfke To: "user@couchdb.apache.org" Date: Tue, 15 Oct 2013 07:51:50 -0700 Subject: Re: Sub string search (and complex queries) approach review needed Thread-Topic: Sub string search (and complex queries) approach review needed Thread-Index: Ac7JthQU+M8+bTmiQACxRlNEkW+rvA== Message-ID: <9CB333EB-DFF9-46D1-AFF4-9CE7C6D264A9@couchbase.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org 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 attribut= es > 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=92ve described. =97Jens=