Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 79972 invoked from network); 14 Mar 2007 20:07:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 20:07:42 -0000 Received: (qmail 84176 invoked by uid 500); 14 Mar 2007 20:07:45 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 84119 invoked by uid 500); 14 Mar 2007 20:07:45 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 84083 invoked by uid 99); 14 Mar 2007 20:07:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 13:07:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [69.18.50.66] (HELO is1.mum.edu) (69.18.50.66) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 13:07:33 -0700 Received: from csgrg.mum.edu ([10.10.10.40]) by is1.mum.edu (8.13.3+Sun/8.13.3) with ESMTP id l2EK7C1w021466 for ; Wed, 14 Mar 2007 14:07:12 -0600 (CST) Message-Id: <6.2.5.6.2.20070314150252.02036b28@mum.edu> X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6 Date: Wed, 14 Mar 2007 15:07:58 -0500 To: general@lucene.apache.org From: Gregory Guthrie Subject: Field static methods missing? In-Reply-To: <45F83604.3040608@yandex.ru> References: <6.2.5.6.2.20070313222446.022917a0@mum.edu> <200703140904.36854@danielnaber.de> <6.2.5.6.2.20070314085002.023301c0@mum.edu> <45F83604.3040608@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Beginner question(!); Many of the examples that I see use what look like static factory methods on Field, Field.Text(..), Field.Keyword(..), etc. But in the current download package lucene-core-2.1.0.jar I don't see any of these methods. And, the JavaDoc pages (http://lucene.apache.org/java/docs/api/org/apache/lucene/document/Field.html) do not include them. Are they obsolete? Documentation old? Particularly I'm unclear on what to replace Field.KeyWord("date", dateWritten) with. Thanks. -------------------------------------------------------- Gregory Guthrie guthrie@mum.edu MUM Faculty -FM1068 Fairfield, IA 52557 --------------------------------------------------------