Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 84093 invoked from network); 8 Jan 2010 14:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 14:44:59 -0000 Received: (qmail 7822 invoked by uid 500); 8 Jan 2010 14:44:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 7735 invoked by uid 500); 8 Jan 2010 14:44:57 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 7725 invoked by uid 99); 8 Jan 2010 14:44:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 14:44:57 +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: domain of gsiasf@gmail.com designates 209.85.211.184 as permitted sender) Received: from [209.85.211.184] (HELO mail-yw0-f184.google.com) (209.85.211.184) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 14:44:47 +0000 Received: by ywh14 with SMTP id 14so18148844ywh.20 for ; Fri, 08 Jan 2010 06:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=qBm9GGz9Q9I81bQ+XLzt+yt6bAhxloe+DuL7Ea5o6dg=; b=gJ8njrIk/cbOHI9vkXeb4dP+DQyBxoybnJxXiOt6LBYHrvX+bn/Zvbp7XisUw2JX2N 7TCQ3GdgoJRECs5OOhr2mGDZS67+RnOJ/NEqH/2HWnkeboqJiyOdP9++2KSdsX9zCcSK 0peeR0TwJFjY94Nqp4vzuyc3pq5Dq9FoUrm4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=NjJNSSyNiAuzuOI+qqDOGGjLiZdKPIXiH+f7VYoJ3+5TAghHvDLrgfNTKaagowpRlm VkTTZkCr2785RzBFoDRc+MxrVjJZTT0JjOq3L9jcobHmC/YRA6D96FHHIbJ64HEaaimr 4H1Vhm+FaQtUOIUNLwbNK3Xm2YcZOZSt47gfY= Received: by 10.150.44.12 with SMTP id r12mr19433072ybr.211.1262961862200; Fri, 08 Jan 2010 06:44:22 -0800 (PST) Received: from ?10.0.0.77? (adsl-065-013-152-164.sip.rdu.bellsouth.net [65.13.152.164]) by mx.google.com with ESMTPS id 23sm9329410yxe.0.2010.01.08.06.44.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 Jan 2010 06:44:21 -0800 (PST) Sender: Grant Ingersoll Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Term Frequency for phrases From: Grant Ingersoll In-Reply-To: <27073866.post@talk.nabble.com> Date: Fri, 8 Jan 2010 09:44:20 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <364FF9D9-77B0-4DA4-8CB6-57303934B731@apache.org> References: <27073866.post@talk.nabble.com> To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org When do you detect that they are phrases? During indexing or during = search? On Jan 8, 2010, at 5:16 AM, hrishim wrote: >=20 > Hi . > I have phrases like brain natriuretic peptide indexed as a single = token > using Lucene. > When I calculate the term frequency for the same the count is 0 since = the > tokens from the text are indexed separately i.e. brain , natriuretic , > peptide. > Is there a way to solve this problem and get the term frequency for = the > entire phrase ? >=20 > Regards, > Hrishi > --=20 > View this message in context: = http://old.nabble.com/Term-Frequency-for-phrases-tp27073866p27073866.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org >=20 -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem using Solr/Lucene: = http://www.lucidimagination.com/search --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org