Class LuceneIndexEditorContext
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
-
- org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorContext
-
- All Implemented Interfaces:
FacetsConfigProvider
public class LuceneIndexEditorContext extends org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext implements FacetsConfigProvider
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetsConfig
getFacetsConfig()
org.apache.jackrabbit.oak.plugins.index.lucene.writer.LuceneIndexWriter
getWriter()
org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.Builder
newDefinitionBuilder()
LuceneDocumentMaker
newDocumentMaker(org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.IndexingRule rule, String path)
static void
setClock(Clock c)
Only set for testing-
Methods inherited from class org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
closeWriter, configureUniqueId, enableReindexMode, getDefinition, getIndexedNodes, getIndexingContext, getPropertyUpdateCallback, incIndexedNodes, indexUpdate, isAsyncIndexing, isReindex, setPropertyUpdateCallback, storedIndexDefinitionEnabled
-
-
-
-
Method Detail
-
newDefinitionBuilder
public org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.Builder newDefinitionBuilder()
- Specified by:
newDefinitionBuilder
in classorg.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
-
newDocumentMaker
public LuceneDocumentMaker newDocumentMaker(org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.IndexingRule rule, String path)
- Specified by:
newDocumentMaker
in classorg.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
-
getWriter
public org.apache.jackrabbit.oak.plugins.index.lucene.writer.LuceneIndexWriter getWriter()
- Overrides:
getWriter
in classorg.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
-
getFacetsConfig
public FacetsConfig getFacetsConfig()
- Specified by:
getFacetsConfig
in interfaceFacetsConfigProvider
-
setClock
public static void setClock(Clock c)
Only set for testing- Parameters:
c
- clock
-
-