Interface LuceneIndexManager

    • Method Detail

      • indexingAnalyzer

        org.apache.lucene.analysis.Analyzer indexingAnalyzer()
        Returns:
        The analyzer used when indexing. This analyzer behaves differently for each field, delegating to the analyzer configured in the mapping.
      • searchAnalyzer

        org.apache.lucene.analysis.Analyzer searchAnalyzer()
        Returns:
        The analyzer used in search queries. This analyzer behaves differently for each field, delegating to the analyzer configured in the mapping.
      • computeSizeInBytes

        long computeSizeInBytes()
        Returns:
        The size of the index on its storage support, in bytes.
      • computeSizeInBytesAsync

        CompletionStage<Long> computeSizeInBytesAsync()
        Returns:
        A future that will ultimately provide the size of the index on its storage support, in bytes.
      • computeSizeInBytesAsync

        @Incubating
        CompletionStage<Long> computeSizeInBytesAsync​(OperationSubmitter operationSubmitter)
        Parameters:
        operationSubmitter - How to handle request to submit operation when the queue is full.
        Returns:
        A future that will ultimately provide the size of the index on its storage support, in bytes.