Interface KnnCollectorManager

    • Method Detail

      • newCollector

        KnnCollector newCollector​(int visitedLimit,
                                  LeafReaderContext context)
                           throws java.io.IOException
        Return a new KnnCollector instance.
        Parameters:
        visitedLimit - the maximum number of nodes that the search is allowed to visit
        context - the leaf reader context
        Throws:
        java.io.IOException