Class LuceneIndexProvider

    • Constructor Detail

      • LuceneIndexProvider

        public LuceneIndexProvider()
      • LuceneIndexProvider

        public LuceneIndexProvider​(IndexCopier indexCopier)
      • LuceneIndexProvider

        public LuceneIndexProvider​(IndexTracker tracker)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • contentChanged

        public void contentChanged​(@NotNull
                                   @NotNull NodeState root,
                                   @NotNull
                                   @NotNull CommitInfo info)
        Description copied from interface: Observer
        Observes a content change. See the Observer class javadocs and relevant repository and observer registration details for more information on when and how this method gets called.
        Specified by:
        contentChanged in interface Observer
        Parameters:
        root - root state of the repository
        info - commit information
      • setAggregator

        public void setAggregator​(QueryIndex.NodeAggregator aggregator)
        sets the default node aggregator that will be used at query time
        Parameters:
        aggregator - the node aggregator