Class LuceneConnectionFactory
- java.lang.Object
-
- com.atlassian.confluence.internal.index.lucene.LuceneConnectionFactory
-
@ReturnValuesAreNonnullByDefault @ParametersAreNonnullByDefault public class LuceneConnectionFactory extends Object
Responsible for creating newLuceneConnection
instances.- Since:
- 7.14
-
-
Field Summary
Fields Modifier and Type Field Description static String
CHANGE_INDEX_DIRECTORY_NAME
static String
EDGE_INDEX_DIRECTORY_NAME
-
Constructor Summary
Constructors Constructor Description LuceneConnectionFactory(LuceneAnalyzerFactory analyzerFactory, ILuceneConnection.Configuration configuration, SearcherInitialisation searcherInitialisation, ConfluenceDirectories confluenceDirectories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LuceneConnection
createChangeIndexConnection()
LuceneConnection
createContentIndexConnection()
-
-
-
Field Detail
-
CHANGE_INDEX_DIRECTORY_NAME
public static final String CHANGE_INDEX_DIRECTORY_NAME
- See Also:
- Constant Field Values
-
EDGE_INDEX_DIRECTORY_NAME
public static final String EDGE_INDEX_DIRECTORY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LuceneConnectionFactory
public LuceneConnectionFactory(LuceneAnalyzerFactory analyzerFactory, ILuceneConnection.Configuration configuration, SearcherInitialisation searcherInitialisation, ConfluenceDirectories confluenceDirectories)
-
-
Method Detail
-
createContentIndexConnection
public LuceneConnection createContentIndexConnection()
-
createChangeIndexConnection
public LuceneConnection createChangeIndexConnection()
-
-