Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.modeshape.search.lucene.LuceneConfiguration

Packages that use LuceneConfiguration
org.modeshape.search.lucene | An implementation of the `SearchEngine` interface that uses the Lucene library.

Uses of LuceneConfiguration in org.modeshape.search.lucene

Classes in org.modeshape.search.lucene that implement LuceneConfiguration
`static class` | `LuceneConfigurations.FileSystemDirectoryFromNameFactory` A `LuceneConfiguration` implementation that creates `FSDirectory` instances for each workspace and index name.
`protected static class` | `LuceneConfigurations.PoolingDirectoryFactory<DirectoryType extends Directory>` A `LuceneConfiguration` implementation that creates `Directory` instances of the supplied type for each workspace and pools the results, ensuring that the same `Directory` instance is always returned for the same workspace name.
`static class` | `LuceneConfigurations.RamDirectoryFactory` A `LuceneConfiguration` implementation that creates `RAMDirectory` instances for each workspace and index name.

Methods in org.modeshape.search.lucene that return LuceneConfiguration
`static LuceneConfiguration` | `LuceneConfigurations.inMemory()` Return a new `LuceneConfiguration` that creates in-memory directories.
`static LuceneConfiguration` | `LuceneConfigurations.using(File parent)` Return a new `LuceneConfiguration` that creates `FSDirectory` instances mapped to folders under a parent folder, where the workspace name is used to create the workspace folder.
`static LuceneConfiguration` | `LuceneConfigurations.using(File parent, org.apache.lucene.store.LockFactory lockFactory)` Return a new `LuceneConfiguration` that creates `FSDirectory` instances mapped to folders under a parent folder, where the workspace name is used to create the workspace folder.
`static LuceneConfiguration` | `LuceneConfigurations.using(File parent, org.apache.lucene.store.LockFactory lockFactory, TextEncoder workspaceNameEncoder, TextEncoder indexNameEncoder)` Return a new `LuceneConfiguration` that creates `FSDirectory` instances mapped to folders under a parent folder, where the workspace name is used to create the workspace folder.
`static LuceneConfiguration` | `LuceneConfigurations.using(File parent, TextEncoder workspaceNameEncoder, TextEncoder indexNameEncoder)` Return a new `LuceneConfiguration` that creates `FSDirectory` instances mapped to folders under a parent folder, where the workspace name is used to create the workspace folder.

Constructors in org.modeshape.search.lucene with parameters of type LuceneConfiguration
`LuceneSearchEngine(String sourceName, RepositoryConnectionFactory connectionFactory, boolean verifyWorkspaceInSource, int maxDepthPerIndexRead, LuceneConfiguration configuration, IndexRules.Factory rulesFactory, org.apache.lucene.analysis.Analyzer analyzer)` Create a new instance of a `SearchEngine` that uses Lucene and a two-index design, and that stores the indexes using the supplied `LuceneConfiguration`.
`LuceneSearchWorkspace(String workspaceName, LuceneConfiguration configuration, IndexRules.Factory rulesFactory, org.apache.lucene.analysis.Analyzer analyzer)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.