The methods of the FSDirectory class are listed below. For a complete list of FSDirectory class members, see the FSDirectory Members topic.
![]() ![]() | Overloaded. Returns the time the named file was last modified. |
![]() ![]() | Overloaded. Returns the directory instance for the named location. |
![]() ![]() | Returns whether Lucene's use of lock files is disabled. |
![]() ![]() | Set whether Lucene's use of lock files is disabled. By default, lock files are enabled. They should only be disabled if the index is on a read-only medium like a CD-ROM. |
![]() | Attempt to clear (forcefully unlock and remove) the specified lock. Only call this at a time when you are certain this lock is no longer in use. |
![]() | Closes the store to future operations. |
![]() | Creates a new, empty file in the directory with the given name. Returns a stream writing this file. |
![]() | Removes an existing file in the directory. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Returns true iff a file with the given name exists. |
![]() | Returns the length in bytes of a file in the directory. |
![]() | Overloaded. Returns the time the named file was last modified. |
![]() | |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Get the LockFactory that this Directory instance is using for its locking implementation. Note that this may be null for Directory implementations that provide their own locking implementation. |
![]() | |
![]() | Gets the Type of the current instance. |
![]() | Returns an array of strings, one for each Lucene index file in the directory. |
![]() | Construct a {@link Lock}. |
![]() | Overloaded. |
![]() | Renames an existing file in the directory. Warning: This is not atomic. |
![]() | Set the LockFactory that this Directory instance should use for its locking implementation. Each * instance of LockFactory should only be used for one directory (ie, do not share a single instance across multiple Directories). |
![]() | |
![]() | For debug output. |
![]() | Set the modified time of an existing file to now. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
![]() | Throws AlreadyClosedException if this Directory is closed. |
FSDirectory Class | Lucene.Net.Store Namespace |