Class | Ferret::Store::FSDirectory |
In: |
ext/r_store.c
|
Parent: | Ferret::Store::Directory |
Create a new FSDirectory at +/path/to/index/+ which must be a valid path on your file system. If it doesn‘t exist it will be created. You can also specify the create parameter. If create is true the FSDirectory will be refreshed as new. That is to say, any existing files in the directory will be deleted. The default value for create is false.
path: | path to index directory. Must be a valid path on your system |
create: | set to true if you want any existing files in the directory to be deleted |