RAMDirectory | Overloaded. Initializes a new instance of the RAMDirectory class. |
ClearLock (inherited from Directory) | 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. |
Close | Closes the store to future operations, releasing associated memory. |
CreateOutput | Creates a new, empty file in the directory with the given name. Returns a stream writing this file. |
DeleteFile | Removes an existing file in the directory. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FileExists | Returns true iff the named file exists in this directory. |
FileLength | Returns the length in bytes of a file in the directory. |
FileModified | Returns the time the named file was last modified. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetLockFactory (inherited from Directory) | 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. |
GetLockID (inherited from Directory) | Return a string identifier that uniquely differentiates this Directory instance from other Directory instances. This ID should be the same if two Directory instances (even in different JVMs and/or on different machines) are considered "the same index". This is how locking "scopes" to the right index. |
GetType (inherited from Object) | Gets the Type of the current instance. |
List | Returns an array of strings, one for each file in the directory. |
MakeLock (inherited from Directory) | Construct a {@link Lock}. |
OpenInput | Overloaded. Returns a stream reading an existing file. |
OpenInput (inherited from Directory) | Overloaded. Returns a stream reading an existing file. |
RenameFile | Renames an existing file in the directory. |
SetLockFactory (inherited from Directory) | 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). |
SizeInBytes | Return total size in bytes of all files in this directory. This is currently quantized to RAMOutputStream.BUFFER_SIZE. |
Sync (inherited from Directory) | Ensure that any writes to the file are moved to stable storage. Lucene uses this to properly commit chages to the index, to prevent a machine/OS crash from corrupting the index. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
TouchFile | Set the modified time of an existing file to now. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
isOpen (inherited from Directory) | |
lockFactory (inherited from Directory) | Holds the LockFactory instance (implements locking for this Directory instance). |
RAMDirectory Class | Lucene.Net.Store Namespace