@InjectableComponent public interface LuceneDirectoryUtils
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.index.IndexDeletionPolicy |
getDeletionPolicy(org.apache.lucene.store.Directory directory)
Returns the
IndexDeletionPolicy for directory |
org.apache.lucene.store.Directory |
getDirectory(File path)
Creates an index directory for the given path on the filesystem.
|
org.apache.lucene.store.Directory getDirectory(File path)
path - to the index directory.DirectoryIOException - if there is a problem when creating the index directory for the given path.org.apache.lucene.index.IndexDeletionPolicy getDeletionPolicy(org.apache.lucene.store.Directory directory)
IndexDeletionPolicy for directoryCopyright © 2002-2024 Atlassian. All Rights Reserved.