Example usage for org.apache.lucene.util Accountable interface-usage

List of usage examples for org.apache.lucene.util Accountable interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.util Accountable interface-usage.

Usage

From source file org.elasticsearch.index.engine.internal.VersionValue.java

class VersionValue implements Accountable {

    private final long version;
    private final Translog.Location translogLocation;

    public VersionValue(long version, Translog.Location translogLocation) {

From source file org.elasticsearch.index.engine.LiveVersionMap.java

/** Maps _uid value to its version information. */
class LiveVersionMap implements ReferenceManager.RefreshListener, Accountable {

    private static class Maps {

        // All writes (adds and deletes) go into here:

From source file org.elasticsearch.index.engine.VersionValue.java

class VersionValue implements Accountable {

    private final long version;
    private final Translog.Location translogLocation;

    public VersionValue(long version, Translog.Location translogLocation) {

From source file org.elasticsearch.index.fielddata.ordinals.GlobalOrdinalsIndexFieldData.java

/**
 * {@link IndexFieldData} base class for concrete global ordinals implementations.
 */
public abstract class GlobalOrdinalsIndexFieldData extends AbstractIndexComponent
        implements IndexOrdinalsFieldData, Accountable {

From source file org.elasticsearch.index.query.PercolateQuery.java

public final class PercolateQuery extends Query implements Accountable {

    // cost of matching the query against the document, arbitrary as it would be really complex to estimate
    public static final float MATCH_COST = 1000;

    public static class Builder {

From source file org.elasticsearch.index.query.PercolatorQuery.java

public final class PercolatorQuery extends Query implements Accountable {

    // cost of matching the query against the document, arbitrary as it would be really complex to estimate
    public static final float MATCH_COST = 1000;

    public static class Builder {

From source file org.elasticsearch.percolator.PercolateQuery.java

final class PercolateQuery extends Query implements Accountable {

    // cost of matching the query against the document, arbitrary as it would be really complex to estimate
    public static final float MATCH_COST = 1000;

    private final String documentType;

From source file org.elasticsearch.xpack.core.security.authz.permission.FieldPermissions.java

/**
 * Stores patterns to fields which access is granted or denied to and maintains an automaton that can be used to check if permission is
 * allowed for a specific field.
 * Field permissions are configured via a list of strings that are patterns a field has to match. Two lists determine whether or
 * not a field is granted access to:
 * 1. It has to match the patterns in grantedFieldsArray

From source file roar.api.services.RoarSparseFixedBitSet.java

/**
 * A bit set that only stores longs that have at least one bit which is set.
 * The way it works is that the space of bits is divided into blocks of
 * 4096 bits, which is 64 longs. Then for each block, we have:<ul>
 * <li>a long[] which stores the non-zero longs for that block</li>
 * <li>a long so that bit <tt>i</tt> being set means that the <code>i-th</code>

From source file solutions.siren.join.index.query.FieldDataTermsQuery.java

/**
 * Specialization for a disjunction over many terms, encoded in a byte array, which scans the
 * {@link IndexFieldData} to collect documents ids.
 * It behaves like a {@link ConstantScoreQuery} over a {@link BooleanQuery} containing only
 * {@link org.apache.lucene.search.BooleanClause.Occur#SHOULD} clauses.
 */