Class LuceneIndexEditorContext

  • All Implemented Interfaces:
    FacetsConfigProvider

    public class LuceneIndexEditorContext
    extends org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextIndexEditorContext
    implements FacetsConfigProvider
    • 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,
                                                    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