Deprecated Methods |
org.apache.lucene.index.SegmentInfo.attributes()
no longer supported |
org.apache.lucene.search.IndexSearcher.document(int, Set)
Use IndexSearcher.doc(int, Set) instead. |
org.apache.lucene.search.FuzzyQuery.floatToEdits(float, int)
pass integer edit distances instead. |
org.apache.lucene.index.SegmentInfo.getAttribute(String)
no longer supported |
org.apache.lucene.search.FieldCache.getBytes(AtomicReader, String, boolean)
(4.4) Index as a numeric field using IntField and then use FieldCache.getInts(AtomicReader, String, boolean) instead. |
org.apache.lucene.search.FieldCache.getBytes(AtomicReader, String, FieldCache.ByteParser, boolean)
(4.4) Index as a numeric field using IntField and then use FieldCache.getInts(AtomicReader, String, boolean) instead. |
org.apache.lucene.store.FSDirectory.getReadChunkSize()
This is no longer used since Lucene 4.5. |
org.apache.lucene.search.FieldCache.getShorts(AtomicReader, String, boolean)
(4.4) Index as a numeric field using IntField and then use FieldCache.getInts(AtomicReader, String, boolean) instead. |
org.apache.lucene.search.FieldCache.getShorts(AtomicReader, String, FieldCache.ShortParser, boolean)
(4.4) Index as a numeric field using IntField and then use FieldCache.getInts(AtomicReader, String, boolean) instead. |
org.apache.lucene.index.Fields.getUniqueTermCount()
iterate fields and add their size() instead.
this method is only provided as a transition mechanism
to access this statistic for 3.x indexes, which do not
have this statistic per-field. |
org.apache.lucene.util.CharsRef.getUTF16SortedAsUTF8Comparator()
This comparator is only a transition mechanism |
org.apache.lucene.util.BytesRef.getUTF8SortedAsUTF16Comparator()
This comparator is only a transition mechanism |
org.apache.lucene.index.AtomicReader.hasNorms(String)
(4.0) use AtomicReader.getFieldInfos() and check FieldInfo.hasNorms()
for the field instead. |
org.apache.lucene.search.FieldCacheRangeFilter.newByteRange(String, Byte, Byte, boolean, boolean)
|
org.apache.lucene.search.FieldCacheRangeFilter.newByteRange(String, FieldCache.ByteParser, Byte, Byte, boolean, boolean)
|
org.apache.lucene.search.FieldCacheRangeFilter.newShortRange(String, FieldCache.ShortParser, Short, Short, boolean, boolean)
|
org.apache.lucene.search.FieldCacheRangeFilter.newShortRange(String, Short, Short, boolean, boolean)
|
org.apache.lucene.index.IndexReader.open(Directory)
Use DirectoryReader.open(Directory) |
org.apache.lucene.index.IndexReader.open(Directory, int)
Use DirectoryReader.open(Directory,int) |
org.apache.lucene.index.IndexReader.open(IndexCommit)
Use DirectoryReader.open(IndexCommit) |
org.apache.lucene.index.IndexReader.open(IndexCommit, int)
Use DirectoryReader.open(IndexCommit,int) |
org.apache.lucene.index.IndexReader.open(IndexWriter, boolean)
Use DirectoryReader.open(IndexWriter,boolean) |
org.apache.lucene.store.Directory.IndexInputSlicer.openFullSlice()
Only for reading CFS files from 3.x indexes. |
org.apache.lucene.index.SegmentInfo.putAttribute(String, String)
no longer supported |
org.apache.lucene.store.IndexOutput.seek(long)
(4.1) This method will be removed in Lucene 5.0 |
org.apache.lucene.store.FSDirectory.setReadChunkSize(int)
This is no longer used since Lucene 4.5. |
org.apache.lucene.document.Field.translateFieldType(Field.Store, Field.Index, Field.TermVector)
This is here only to ease transition from
the pre-4.0 APIs. |
org.apache.lucene.index.SegmentInfos.write3xInfo(Directory, SegmentInfo, IOContext)
|