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

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

Introduction

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

Usage

From source file com.b2international.index.lucene.AbstractDocsOutOfOrderCollector.java

/**
 * Abstract collector without scorer feature. The doc IDs will *NOT* be visited in order.
 */
public abstract class AbstractDocsOutOfOrderCollector extends SimpleCollector {

    @Override

From source file com.b2international.index.lucene.DocIdCollector.java

/**
 * A {@link Collector collector} storing all document ID in a {@link DocIds} instance. 
 * @see DocIds
 * @see DocIdsIterator
 */
public class DocIdCollector extends SimpleCollector {

From source file com.helger.pd.indexer.lucene.AllDocumentsCollector.java

/**
 * A Lucene {@link Collector} that always collects all {@link Document} objects.
 *
 * @author Philip Helger
 */
public class AllDocumentsCollector extends SimpleCollector {

From source file jfix.search.ObjectCollector.java

public class ObjectCollector<E> extends SimpleCollector {

    private List<E> input;
    private List<E> output;

    public ObjectCollector(List<E> objects) {

From source file org.apache.pylucene.search.PythonSimpleCollector.java

public class PythonSimpleCollector extends SimpleCollector {

    private long pythonObject;

    public PythonSimpleCollector() {
    }

From source file org.apache.solr.analytics.accumulator.ValueAccumulator.java

/**
 * Abstract Collector that manages all StatsCollectors, Expressions and Facets.
 */
public abstract class ValueAccumulator extends SimpleCollector {

    /**

From source file org.apache.solr.search.join.GraphTermsCollector.java

/**
 * A graph hit collector.  This accumulates the edges for a given graph traversal.
 * On each collect method, the collector skips edge extraction for nodes that it has
 * already traversed.
 * @lucene.internal
 */

From source file org.codelibs.elasticsearch.common.lucene.MinimumScoreCollector.java

/**
 *
 */
public class MinimumScoreCollector extends SimpleCollector {

    private final Collector collector;

From source file org.neo4j.kernel.api.impl.index.collector.DocValuesCollector.java

/**
 * Collector to record per-segment {@code DocIdSet}s and {@code LeafReaderContext}s for every
 * segment that contains a hit. Those items can be later used to read {@code DocValues} fields
 * and iterate over the matched {@code DocIdSet}s. This collector is different from
 * {@code org.apache.lucene.search.CachingCollector} in that the later focuses on predictable RAM usage
 * and feeding other collectors while this collector focuses on exposing the required per-segment data structures

From source file org.neo4j.kernel.api.impl.index.collector.FirstHitCollector.java

/**
 * A {@code Collector} that terminates the collection after the very first hit.
 * As a consequence, additional collectors in this search that require a complete run over the index,
 * such as {@code TotalHitCountCollector} or {@link DocValuesCollector}, won't work as expected.
 */
public final class FirstHitCollector extends SimpleCollector {