Example usage for org.apache.lucene.search FilterCollector subclass-usage

List of usage examples for org.apache.lucene.search FilterCollector subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.search FilterCollector subclass-usage.

Usage

From source file org.apache.solr.search.EarlyTerminatingSortingCollector.java

/**
 * A {@link Collector} that early terminates collection of documents on a
 * per-segment basis, if the segment was sorted according to the given
 * {@link Sort}.
 *
 * <p>

From source file org.codelibs.elasticsearch.search.profile.query.ProfileCollector.java

/** A collector that profiles how much time is spent calling it. */
final class ProfileCollector extends FilterCollector {

    private long time;

    /** Sole constructor. */

From source file org.elasticsearch.search.profile.ProfileCollector.java

/** A collector that profiles how much time is spent calling it. */
final class ProfileCollector extends FilterCollector {

    private long time;

    /** Sole constructor. */

From source file org.elasticsearch.search.profile.query.ProfileCollector.java

/** A collector that profiles how much time is spent calling it. */
final class ProfileCollector extends FilterCollector {

    private long time;

    /** Sole constructor. */

From source file org.elasticsearch.search.query.CancellableCollector.java

/**
 * Collector that checks if the task it is executed under is cancelled.
 */
public class CancellableCollector extends FilterCollector {
    private final Provider<Boolean> cancelled;
    private final boolean leafLevel;

From source file org.elasticsearch.search.query.EarlyTerminatingCollector.java

/**
 * A {@link Collector} that early terminates collection after <code>maxCountHits</code> docs have been collected.
 */
public class EarlyTerminatingCollector extends FilterCollector {
    private final int maxCountHits;
    private int numCollected;