Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 84877 invoked from network); 11 Sep 2009 19:11:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 19:11:00 -0000 Received: (qmail 25412 invoked by uid 500); 11 Sep 2009 19:10:59 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 25338 invoked by uid 500); 11 Sep 2009 19:10:59 -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 25328 invoked by uid 99); 11 Sep 2009 19:10:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 19:10:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.150.195.222] (HELO mx-smtp-02.ittvis.com) (216.150.195.222) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 19:10:49 +0000 Received: from localhost (mx-smtp-02 [127.0.0.1]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id 4721724036 for ; Fri, 11 Sep 2009 12:43:08 -0600 (MDT) Received: from mx-smtp-02.ittvis.com ([127.0.0.1]) by localhost (mx-smtp-02.ittvis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23409-10 for ; Fri, 11 Sep 2009 12:43:08 -0600 (MDT) Received: from av-smtp-02.ittvis.com (av-smtp-02.ittvis.com [10.17.10.82]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id 1156424025 for ; Fri, 11 Sep 2009 12:43:07 -0600 (MDT) Received: from gemini.rsinc.com ([10.17.10.66]) by apollo.rsinc.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 11 Sep 2009 13:09:49 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Lucene partial text search Date: Fri, 11 Sep 2009 13:08:38 -0600 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Lucene partial text search thread-index: AcozB0oXCmTHIE97Rk6Vlg9/k3FxxwAC45dA References: From: "Michael McCaffrey" To: X-OriginalArrivalTime: 11 Sep 2009 19:09:49.0131 (UTC) FILETIME=[6EE3F9B0:01CA3313] X-Virus-Checked: Checked by ClamAV on apache.org Yes but no */? as first char. So how would you search for any field that contains "abc"?=20 Can't do q=3D"*abc*".=20 -----Original Message----- From: Zachary Zolton [mailto:zachary.zolton@gmail.com]=20 Sent: Friday, September 11, 2009 11:42 AM To: user@couchdb.apache.org Subject: Re: Lucene partial text search Lucene supports single letter "?" and multi-letter "*" wildcards: http://lucene.apache.org/java/2_0_0/queryparsersyntax.html On Fri, Sep 11, 2009 at 12:29 PM, Michael McCaffrey wrote: > Looking at the couch docs for lucene, they all reference FullText > searching. > > > > I've done the simple example from the wiki and =A0can get the search = to > work if I put all the text in the field in the q=3D"..." search. > > > > Is it possible to do partial text searches? Like all the records that > contain "abc" in the field? Like a q=3D"*abc*" wildcard query? > > > > I see where the lucene documentation shows lots of capabilities, but > wonder if these are available/accessible in couch. > > > Thanks > > Mike > >