You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by gekkokid <me...@gekkokid.org.uk> on 2005/12/28 23:27:03 UTC

(lucene 1.4.*) Field.Text = (lucene repository) Field.TermVector

Hi, i have recently updated to the latest version of lucene in the source 
repository, the enclosed classes (field types) in Field have been 
depreciated, is the old Field.Text now Field.TermVector where it is 
analyzed, indexed and stored?

thanks,
_gk 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: (lucene 1.4.*) Field.Text = (lucene repository) Field.TermVector

Posted by gekkokid <me...@gekkokid.org.uk>.
thank you

----- Original Message ----- 
From: "Erik Hatcher" <er...@ehatchersolutions.com>
To: <ja...@lucene.apache.org>
Sent: Wednesday, December 28, 2005 11:52 PM
Subject: Re: (lucene 1.4.*) Field.Text = (lucene repository) 
Field.TermVector


>
> On Dec 28, 2005, at 5:27 PM, gekkokid wrote:
>
>> Hi, i have recently updated to the latest version of lucene in the 
>> source repository, the enclosed classes (field types) in Field have  been 
>> depreciated, is the old Field.Text now Field.TermVector where  it is 
>> analyzed, indexed and stored?
>
> Your best bet is to generate the javadocs (ant javadocs), or peruse  the 
> source code, and see the comments for the @deprecated  demarcations.  For 
> example, for Field.Text, it says this:
>
>   @deprecated use {@link #Field(String, String, Field.Store,  Field.Index)
>     Field(name, value, Field.Store.YES, Field.Index.TOKENIZED)} instead
>
>
> Erik
>
>
>
> ---------------------------------------------------------------------
> 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


Re: (lucene 1.4.*) Field.Text = (lucene repository) Field.TermVector

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Dec 28, 2005, at 5:27 PM, gekkokid wrote:

> Hi, i have recently updated to the latest version of lucene in the  
> source repository, the enclosed classes (field types) in Field have  
> been depreciated, is the old Field.Text now Field.TermVector where  
> it is analyzed, indexed and stored?

Your best bet is to generate the javadocs (ant javadocs), or peruse  
the source code, and see the comments for the @deprecated  
demarcations.  For example, for Field.Text, it says this:

   @deprecated use {@link #Field(String, String, Field.Store,  
Field.Index)
     Field(name, value, Field.Store.YES, Field.Index.TOKENIZED)} instead


Erik



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org