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

    Modifier and Type
    Method
    Description
     
    org.apache.jackrabbit.oak.plugins.index.lucene.writer.LuceneIndexWriter
     
    org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.Builder
     
    newDocumentMaker(org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.IndexingRule rule, String path)
     
    static void
    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 Details

    • 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, 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
    • getFacetsConfig

      public FacetsConfig getFacetsConfig()
      Specified by:
      getFacetsConfig in interface FacetsConfigProvider
    • setClock

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