Deprecated API


Contents
Deprecated Classes
org.apache.lucene.document.DateField
          If you build a new index, use DateTools or NumericField instead. This class is included for use with existing indices and will be removed in a future release (possibly Lucene 4.0). 
org.apache.lucene.analysis.ISOLatin1AccentFilter
          If you build a new index, use ASCIIFoldingFilter which covers a superset of Latin 1. This class is included for use with existing indexes and will be removed in a future release (possibly Lucene 4.0). 
org.apache.lucene.document.NumberTools
          For new indexes use NumericUtils instead, which provides a sortable binary representation (prefix encoded) of numeric values. To index and efficiently query numeric values use NumericField and NumericRangeQuery. This class is included for use with existing indices and will be removed in a future release (possibly Lucene 4.0). 
org.apache.lucene.util.Parameter
          Use Java 5 enum, will be removed in a later Lucene 3.x release. 
 

Deprecated Fields
org.apache.lucene.analysis.standard.StandardTokenizer.ACRONYM_DEP
          this solves a bug where HOSTs that end with '.' are identified as ACRONYMs. 
org.apache.lucene.analysis.Analyzer.overridesTokenStreamMethod
            
 

Deprecated Methods
org.apache.lucene.queryParser.CharStream.getColumn()
            
org.apache.lucene.queryParser.CharStream.getLine()
            
org.apache.lucene.analysis.standard.StandardTokenizer.isReplaceInvalidAcronym()
          Remove in 3.X and make true the only valid value 
org.apache.lucene.store.IndexInput.readChars(char[], int, int)
          -- please use readString or readBytes instead, and construct the string from those utf8 bytes 
org.apache.lucene.analysis.Analyzer.setOverridesTokenStreamMethod(Class)
          This is only present to preserve back-compat of classes that subclass a core analyzer and override tokenStream but not reusableTokenStream 
org.apache.lucene.analysis.standard.StandardTokenizer.setReplaceInvalidAcronym(boolean)
          Remove in 3.X and make true the only valid value See https://issues.apache.org/jira/browse/LUCENE-1068 
org.apache.lucene.store.IndexInput.skipChars(int)
          this method operates on old "modified utf8" encoded strings 
org.apache.lucene.store.IndexOutput.writeChars(char[], int, int)
          -- please pre-convert to utf8 bytes instead or use IndexOutput.writeString(java.lang.String) 
org.apache.lucene.store.IndexOutput.writeChars(String, int, int)
          -- please pre-convert to utf8 bytes instead or use IndexOutput.writeString(java.lang.String) 
 



Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.