Deprecated API


Contents
Deprecated Interfaces
com.atlassian.bonnie.AnyTypeObjectDao
          since 3.1. A DAO interface does not belong in a shared library for search. This interface has been moved back into Confluence. 
 

Deprecated Classes
com.atlassian.bonnie.ConcurrentLuceneConnection
          since 3.2 use LuceneConnection 
com.atlassian.bonnie.FieldUtil
          You should only use this class as a helper for inlining, not for production code. 
org.apache.lucene.index.IndexUtils
          since 3.2 because the deleted document mechanism has changed in Lucene 2.2 and later 
com.atlassian.bonnie.LuceneConnectionFactory
          since 3.2, use a constructor of LuceneConnection 
com.atlassian.bonnie.search.extractor.MsExcelContentExtractor
           
com.atlassian.bonnie.search.extractor.MsPowerpointContentExtractor
           
com.atlassian.bonnie.search.extractor.MsWordContentExtractor
           
com.atlassian.bonnie.search.extractor.PowerPointListener
           
 

Deprecated Fields
com.atlassian.bonnie.LuceneConnection.WRITER_BATCH
          since 3.2 
com.atlassian.bonnie.LuceneConnection.WRITER_DEFAULT
          since 3.2 
com.atlassian.bonnie.LuceneConnection.WRITER_INTERACTIVE
          since 3.2 
 

Deprecated Methods
com.atlassian.bonnie.LuceneConnection.flipCurrentSearcher()
          since 3.2 
com.atlassian.bonnie.LuceneConnection.flushWriter()
          since 3.2, use LuceneConnection.close() instead. 
com.atlassian.bonnie.AnyTypeObjectDao.getHandle(Object)
          use HandleResolver.getHandle(Object) instead. 
com.atlassian.bonnie.LuceneConnection.getIndexDir()
          since 3.2 because this class encapsulates the use of the index directory 
com.atlassian.bonnie.ILuceneConnection.isIndexCreated()
          since 3.2 index creation is handled by the implementation, so this method now always returns true. 
com.atlassian.bonnie.LuceneConnection.isIndexCreated()
          since 3.2 
com.atlassian.bonnie.ILuceneConnection.leakSearcher()
          since 3.2 because the searcher shouldn't be leaked 
com.atlassian.bonnie.LuceneConnection.leakSearcher()
          since 3.2 
org.apache.lucene.index.IndexUtils.truncateIndex(Directory)
          since 3.2 because this method uses the internal deleted document structure of Lucene which has changed in recent versions 
com.atlassian.bonnie.LuceneConnection.withWriter(ILuceneConnection.WriterAction, int)
          since 3.2 use ILuceneConnection.withWriter(WriterAction) for interactive writes, or ILuceneConnection.withBatchUpdate(BatchUpdateAction) for batch writes. 
 

Deprecated Constructors
org.apache.lucene.search.DelayCloseIndexSearcher(IndexReader, Directory)
          Use DelayCloseIndexSearcher.DelayCloseIndexSearcher(org.apache.lucene.index.IndexReader) instead 
 



Copyright © 2006-2010 Atlassian Software Systems Pty Ltd. All Rights Reserved.