Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 34798 invoked from network); 10 Aug 2010 19:20:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Aug 2010 19:20:06 -0000 Received: (qmail 11923 invoked by uid 500); 10 Aug 2010 19:20:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 11752 invoked by uid 500); 10 Aug 2010 19:20:04 -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 11744 invoked by uid 99); 10 Aug 2010 19:20:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 19:20:04 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [67.195.15.175] (HELO web111508.mail.gq1.yahoo.com) (67.195.15.175) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Aug 2010 19:19:56 +0000 Received: (qmail 70387 invoked by uid 60001); 10 Aug 2010 19:19:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1281467974; bh=JdhA/b21FRnigBdEv20Zr+O1w3g0SsfAmdqzglNjuyw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=1IhXJOgQRyEEwXCfwR9VQD8LiIL/Rv1yi8S0gg8QjVGozWk1ay+VZARP97URsGSJKSRHpI/OGfubbUbs6652X91XCaF6thr05lHj2vuSnGnSjMrgvu3m6PobhFpJhMgmRWWGuAE/gLMPVsnGiYaDOISKIoWVcg5slSvZeo36BX4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ARgejZm+NGui6EhKC5Us8xOn98VlDhQz1rJJ5/lK0dc083FS/3XqO+eJhxCc1zvL78FE0PXPwzzmCTn4cfaI5bIPWM15wXnbHnGFDC1x1iXDaRUCwAIy/SjQat/RPsRvANe+Ho+gZaK7+86TYVTvN5VpsLSFxZBnwKCS72tUcdU=; Message-ID: <15497.68937.qm@web111508.mail.gq1.yahoo.com> X-YMail-OSG: MNK1CW0VM1m0W2SrSmIN8uQO9Ia_YO3KGBhjziRhynQbUOL PBmtPIH4oY9t6NTfftgV87pKHjqb3NVB.NLFDb8Ucnubpzy_XVBATwM76rHj Cw9JL0YHoQYlUrrCNCdZPdBFGj0tg1TtwUXdhARXccOx.7qOAOUztDrCAFBQ vfjasQxve97RgTxdxELNL1pH82VWYm76uz5qHipMxkm3S7s3.S1hj6.qXAcM vBZ4ne5DQ3VlA.x5c2YiRBuH331QCo6Lm9x4KSSniiLfsc_TLGcNzeHfPZQo sg8R8xllj6ju4kMTAK2o7R.lnxu8j85UJfa_qiCq2qEJ6PHoimYvPmXvAPd3 7.KER.F0L0r9NhQ-- Received: from [24.114.255.3] by web111508.mail.gq1.yahoo.com via HTTP; Tue, 10 Aug 2010 12:19:33 PDT X-Mailer: YahooMailRC/459 YahooMailWebService/0.8.105.279950 References: <117033.599.qm@web111516.mail.gq1.yahoo.com> <2E7FCE0A-45A9-4EAC-BCF5-DD2ED9F9C33D@googlemail.com> Date: Tue, 10 Aug 2010 12:19:33 -0700 (PDT) From: Timothy Washington Subject: Re: Cannot search single terms in Couchdb-lucene (maybe Analyzer problems) To: user@couchdb.apache.org In-Reply-To: <2E7FCE0A-45A9-4EAC-BCF5-DD2ED9F9C33D@googlemail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1839715725-1281467973=:68937" X-Virus-Checked: Checked by ClamAV on apache.org --0-1839715725-1281467973=:68937 Content-Type: text/plain; charset=us-ascii I don't have a specific analyzer declared, so it'll be the default one. Here's the design document: { "_id": "_design/foo", "_rev": "4-9d0eb8eba0080e61952317efd9f55ebc", "fulltext": { "by_title": { "index": "function(doc) { var ret=new Document(); ret.add(doc.title); return ret }" }, "by_source": { "index": "function(doc) { var ret=new Document(); ret.add(doc.source); return ret }" }, "by_all": { "index": "function(doc) { var ret=new Document(); ret.add(doc.title); ret.add(doc.body); ret.add(doc.source); return ret; }" } } } Tim ________________________________ From: Sebastian Cohnen To: user@couchdb.apache.org Sent: Tue, August 10, 2010 3:05:04 PM Subject: Re: Cannot search single terms in Couchdb-lucene (maybe Analyzer problems) what analyzer are you using? can you provide the ddoc? have you tried to search for the single term in lowercase? Best Sebastian On 10.08.2010, at 21:01, Timothy Washington wrote: > Our team is using couchdb-lucene. We have the tool installed, configured and > indexing properly. And our full field searching works properly. > > > But if we want to search for one one word in a field ('title', or 'summary', >for > > example), we get no results. So, on a document with the title "WHAT DO YOU WEAR > > TO GLAM UP YOUR LOOK FOR A SPECIAL EVENT?", document A) works, but B) does not. > > > > A) wget 'http://172.16.114.129:5984/baron/_fti/_design/foo/by_all?q=title:WHAT > DO YOU WEAR TO GLAM UP YOUR LOOK FOR A SPECIAL EVENT?' > B) wget 'http://172.16.114.129:5984/baron/_fti/_design/foo/by_all?q=title:GLAM' > > > We're playing around with the settings - a different index analyzer maybe? But > I'm sure we're just missing a basic switch/lever somewhere. Anyone have any > knowledge here? > > > Thanks > Tim > --0-1839715725-1281467973=:68937--