Uses of Class
org.apache.lucene.store.LockObtainFailedException

Packages that use LockObtainFailedException
org.apache.lucene.index Code to maintain and access indices. 
org.apache.lucene.store Binary i/o API, used for all index data. 
 

Uses of LockObtainFailedException in org.apache.lucene.index
 

Methods in org.apache.lucene.index that throw LockObtainFailedException
 void IndexModifier.addDocument(Document doc)
          Deprecated. Adds a document to this index.
 void IndexModifier.addDocument(Document doc, Analyzer docAnalyzer)
          Deprecated. Adds a document to this index, using the provided analyzer instead of the one specific in the constructor.
protected  void IndexModifier.createIndexWriter()
          Deprecated. Close the IndexReader and open an IndexWriter.
 void IndexModifier.deleteDocument(int docNum)
          Deprecated. Deletes the document numbered docNum.
 void IndexReader.deleteDocument(int docNum)
          Deletes the document numbered docNum.
 int IndexModifier.deleteDocuments(Term term)
          Deprecated. Deletes all documents containing term.
 int IndexReader.deleteDocuments(Term term)
          Deletes all documents that have a given term indexed.
 void IndexModifier.flush()
          Deprecated. Make sure all changes are written to disk.
 PrintStream IndexModifier.getInfoStream()
          Deprecated.  
 int IndexModifier.getMaxBufferedDocs()
          Deprecated.  
 int IndexModifier.getMaxFieldLength()
          Deprecated.  
 int IndexModifier.getMergeFactor()
          Deprecated.  
 boolean IndexModifier.getUseCompoundFile()
          Deprecated.  
protected  void IndexModifier.init(Directory directory, Analyzer analyzer, boolean create)
          Deprecated. Initialize an IndexWriter.
 void IndexModifier.optimize()
          Deprecated. Merges all segments together into a single segment, optimizing an index for search.
 void IndexReader.setNorm(int doc, String field, byte value)
          Expert: Resets the normalization factor for the named field of the named document.
 void IndexReader.setNorm(int doc, String field, float value)
          Expert: Resets the normalization factor for the named field of the named document.
 void IndexReader.undeleteAll()
          Undeletes all documents currently marked as deleted in this index.
 

Constructors in org.apache.lucene.index that throw LockObtainFailedException
IndexModifier(Directory directory, Analyzer analyzer, boolean create)
          Deprecated. Open an index with write access.
IndexModifier(File file, Analyzer analyzer, boolean create)
          Deprecated. Open an index with write access.
IndexModifier(String dirName, Analyzer analyzer, boolean create)
          Deprecated. Open an index with write access.
IndexWriter(Directory d, Analyzer a)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory d, Analyzer a, boolean create)
          Deprecated. This constructor will be removed in the 3.0 release, and call IndexWriter.commit() when needed. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead.
IndexWriter(Directory d, Analyzer a, boolean create, IndexDeletionPolicy deletionPolicy, IndexWriter.MaxFieldLength mfl)
          Expert: constructs an IndexWriter with a custom IndexDeletionPolicy, for the index in d.
IndexWriter(Directory d, Analyzer a, boolean create, IndexWriter.MaxFieldLength mfl)
          Constructs an IndexWriter for the index in d.
IndexWriter(Directory d, Analyzer a, IndexDeletionPolicy deletionPolicy, IndexWriter.MaxFieldLength mfl)
          Expert: constructs an IndexWriter with a custom IndexDeletionPolicy, for the index in d, first creating it if it does not already exist.
IndexWriter(Directory d, Analyzer a, IndexDeletionPolicy deletionPolicy, IndexWriter.MaxFieldLength mfl, IndexCommit commit)
          Expert: constructs an IndexWriter on specific commit point, with a custom IndexDeletionPolicy, for the index in d.
IndexWriter(Directory d, Analyzer a, IndexWriter.MaxFieldLength mfl)
          Constructs an IndexWriter for the index in d, first creating it if it does not already exist.
IndexWriter(Directory d, boolean autoCommit, Analyzer a)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory d, boolean autoCommit, Analyzer a, boolean create)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory d, boolean autoCommit, Analyzer a, boolean create, IndexDeletionPolicy deletionPolicy)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,IndexDeletionPolicy,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory d, boolean autoCommit, Analyzer a, IndexDeletionPolicy deletionPolicy)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,IndexDeletionPolicy,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(File path, Analyzer a)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(File path, Analyzer a, boolean create)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(File path, Analyzer a, boolean create, IndexWriter.MaxFieldLength mfl)
          Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, boolean, MaxFieldLength)
IndexWriter(File path, Analyzer a, IndexWriter.MaxFieldLength mfl)
          Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, MaxFieldLength)
IndexWriter(String path, Analyzer a)
          Deprecated. This constructor will be removed in the 3.0 release, and call IndexWriter.commit() when needed. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead.
IndexWriter(String path, Analyzer a, boolean create)
          Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(String path, Analyzer a, boolean create, IndexWriter.MaxFieldLength mfl)
          Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, boolean, MaxFieldLength)
IndexWriter(String path, Analyzer a, IndexWriter.MaxFieldLength mfl)
          Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, MaxFieldLength)
 

Uses of LockObtainFailedException in org.apache.lucene.store
 

Methods in org.apache.lucene.store that throw LockObtainFailedException
 boolean Lock.obtain(long lockWaitTimeout)
          Attempts to obtain an exclusive lock within amount of time given.
 Object Lock.With.run()
          Calls Lock.With.doBody() while lock is obtained.
 



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