Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 30721 invoked from network); 19 Dec 2008 02:14:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2008 02:14:03 -0000 Received: (qmail 60478 invoked by uid 500); 19 Dec 2008 02:14:10 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 59481 invoked by uid 500); 19 Dec 2008 02:14:08 -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 59470 invoked by uid 99); 19 Dec 2008 02:14:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 18:14:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of markrmiller@gmail.com designates 74.125.44.30 as permitted sender) Received: from [74.125.44.30] (HELO yx-out-2324.google.com) (74.125.44.30) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 02:13:47 +0000 Received: by yx-out-2324.google.com with SMTP id 3so259368yxj.5 for ; Thu, 18 Dec 2008 18:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=FaWtZEs+Cf08vJWpZDzGEmIm39yL5Gmbmst6gFXFvt8=; b=l2LPvlrNoB2pZ+eksKX6heqWV8xyFJ45TBXYH3f4Qod2skp3D5L/x6H6kzLHSoAUAJ Ie3Bv9TwpxVoOTQFYXTpR7q+MXGnXLu3BIHZIa8sMQFcmNtego/H6ga2nMXqHLG9toq0 8ZaUNoPBU5aliWIHRhWkbj+HDaT4WCOsdUuSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=KXl+imEe6Frk1Z+QkffZz2xMRtcqqiaMycyrS1OWpxU25nuKAEVmjFawWZ4S3MwxWP gKLSHG0df6fcF9OgYppPoUY61rA6kGAm/CZOsUMlNTVXoxrX99Wqy2hnJz6WChZ4CSTp 43jPISTfn7mLNeXQSj1Upv2LKWeoxNTyGUZvU= Received: by 10.90.53.4 with SMTP id b4mr1538823aga.88.1229652806872; Thu, 18 Dec 2008 18:13:26 -0800 (PST) Received: from ?192.168.1.100? (ool-44c639d9.dyn.optonline.net [68.198.57.217]) by mx.google.com with ESMTPS id 36sm15663543agc.9.2008.12.18.18.13.25 (version=SSLv3 cipher=RC4-MD5); Thu, 18 Dec 2008 18:13:26 -0800 (PST) Message-ID: <494B0345.5000501@gmail.com> Date: Thu, 18 Dec 2008 21:13:25 -0500 From: Mark Miller User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Field.omitTF References: <8837fb770812181357y1d4e6804x200d3dd2a74b102d@mail.gmail.com> <595E27AC-AA89-406D-8875-9B55A1D292F1@gmail.com> <8837fb770812181422j4fa5d296q4ea436f517aea4f2@mail.gmail.com> In-Reply-To: <8837fb770812181422j4fa5d296q4ea436f517aea4f2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org No, not a bug, certainly its the intended behavior (though the name is a bit tricky isn't it? I've actually thought about that in the past myself). If you check out the javadoc on Fieldable youll find: /** Expert: * * If set, omit term freq, positions and payloads from postings for this field. */ void setOmitTf(boolean omitTf); - Mark John Wang wrote: > Thanks Mark!I don't think it is documented (at least the ones I've read), > should this be considered as a bug or ... ? > > Thanks > > -John > > On Thu, Dec 18, 2008 at 2:05 PM, Mark Miller wrote: > > >> Drops positions as well. >> >> - Mark >> >> >> >> On Dec 18, 2008, at 4:57 PM, "John Wang" wrote: >> >> Hi: >> >>> In lucene 2.4, when Field.omitTF() is called, payload is disabled as >>> well. Is this intentional? My understanding is payload is independent from >>> the term frequencies. >>> >>> Thanks >>> >>> -John >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org