D
- a Lucene directory providerpublic interface DirectoryProviderService<D extends Directory> extends Service
DirectoryProvider
instances, potentially making use of shortcuts for the implementation names and altering default implementations.Modifier and Type | Method and Description |
---|---|
DirectoryProvider<D> |
create(Properties indexProperties,
String indexName,
BuildContext context)
Creates a DirectoryProvider for an index based on the configuration
|
Class<? extends DirectoryProvider<D>> |
getDefault()
Default
DirectoryProvider to be used if none is configured by the user |
String |
toFullyQualifiedClassName(String shortcut)
Resolve short names into implementation names
|
DirectoryProvider<D> create(Properties indexProperties, String indexName, BuildContext context)
indexProperties
- the configuration propertiesindexName
- the name of the index (directory) to createcontext
- provide access to some services at initializationDirectoryProvider
Class<? extends DirectoryProvider<D>> getDefault()
DirectoryProvider
to be used if none is configured by the userDirectoryProvider
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved