IndexModifier
object
/// on the same directory at the same time.
///
/// Example usage:
///
///
///
///
///
///
///
/// Analyzer analyzer = new StandardAnalyzer();
/// |
///
///
IndexModifier
.
///
/// Although an instance of this class can be used from more than one
/// thread, you will not get the best performance. You might want to use
/// IndexReader and IndexWriter directly for that (but you will need to
/// care about synchronization yourself then).
///
/// While you can freely mix calls to add() and delete() using this class,
/// you should batch you calls for best performance. For example, if you
/// want to update 20 documents, you should first delete all those documents,
/// then add all the new documents.
///
/// true
to create the index or overwrite the existing one;
/// false
to append to the existing index
///
/// write.lock
could not
/// be obtained)
/// true
to create the index or overwrite the existing one;
/// false
to append to the existing index
///
/// write.lock
could not
/// be obtained)
/// true
to create the index or overwrite the existing one;
/// false
to append to the existing index
///
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// term
.
/// This is useful if one uses a document field to hold a unique ID string for
/// the document. Then to delete such a document, one merely constructs a
/// term with the appropriate field and the unique ID string as its text and
/// passes it to this method. Returns the number of documents deleted.
/// write.lock
could not
/// be obtained)
/// docNum
.write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
/// write.lock
could not
/// be obtained)
///