Class CustomLuceneConnectionFactoryImpl
java.lang.Object
com.atlassian.confluence.internal.index.lucene.CustomLuceneConnectionFactoryImpl
- All Implemented Interfaces:
CustomLuceneConnectionFactory
public class CustomLuceneConnectionFactoryImpl
extends Object
implements CustomLuceneConnectionFactory
- Since:
- 7.17
-
Constructor Summary
ConstructorsConstructorDescriptionCustomLuceneConnectionFactoryImpl
(ConfluenceDirectories confluenceDirectories, LuceneAnalyzerMapper luceneAnalyzerMapper, SearchLanguageProvider searchLanguageProvider) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(String relativePath, AnalyzerDescriptorProvider analyzerDescriptorProvider) Create Lucene connection
-
Constructor Details
-
CustomLuceneConnectionFactoryImpl
public CustomLuceneConnectionFactoryImpl(ConfluenceDirectories confluenceDirectories, LuceneAnalyzerMapper luceneAnalyzerMapper, SearchLanguageProvider searchLanguageProvider)
-
-
Method Details
-
create
public LuceneConnection create(String relativePath, AnalyzerDescriptorProvider analyzerDescriptorProvider) Description copied from interface:CustomLuceneConnectionFactory
Create Lucene connection- Specified by:
create
in interfaceCustomLuceneConnectionFactory
- Parameters:
relativePath
- relative path to indexanalyzerDescriptorProvider
-AnalyzerDescriptorProvider
to be used against the index- Returns:
LuceneConnection
-