Method SetIndexWriter
SetIndexWriter(IndexWriter)
Sets the IndexWriter to use by this merge policy. This method is allowed to be called only once, and is usually set by IndexWriter. If it is called more than once, AlreadySetException is thrown.
Declaration
public virtual void SetIndexWriter(IndexWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IndexWriter | writer |
See Also
SetOnce<T>