Class 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, java.lang.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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • newDefinitionBuilder

        public org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.Builder newDefinitionBuilder()
        Specified by:
        newDefinitionBuilder in class org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
      • newDocumentMaker

        public LuceneDocumentMaker newDocumentMaker​(org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.IndexingRule rule,
                                                    java.lang.String path)
        Specified by:
        newDocumentMaker in class org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
      • getWriter

        public org.apache.jackrabbit.oak.plugins.index.lucene.writer.LuceneIndexWriter getWriter()
        Overrides:
        getWriter in class org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
      • setClock

        public static void setClock​(Clock c)
        Only set for testing
        Parameters:
        c - clock