lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Guthrie <guth...@mum.edu>
Subject Field static methods missing?
Date Wed, 14 Mar 2007 20:07:58 GMT
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
--------------------------------------------------------

          



Mime
View raw message