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 cn.codepub.redis.directory.RedisDirectory.java

/**
 * <p>
 * Created by wangxu on 16/10/27 17:27.
 * </p>
 * <p>
 * Description:

From source file cn.codepub.redis.directory.RedisFile.java

/**
 * <p>
 * Created by wangxu on 2016/11/09 10:43.
 * </p>
 * <p>
 * Description: TODO

From source file com.lucure.core.codec.CompressingStoredFieldsIndexReader.java

/**
 * Random-access reader for {@link CompressingStoredFieldsIndexWriter}.
 * @lucene.internal
 */
public final class CompressingStoredFieldsIndexReader implements Cloneable, Accountable {

From source file com.o19s.es.ltr.feature.store.CompiledLtrModel.java

public class CompiledLtrModel implements LtrModel, Accountable {
    private static final long BASE_RAM_USED = RamUsageEstimator.shallowSizeOfInstance(StoredLtrModel.class);

    private final String name;
    private final FeatureSet set;
    private final LtrRanker ranker;

From source file com.o19s.es.ltr.feature.store.OptimizedFeatureSet.java

public class OptimizedFeatureSet implements FeatureSet, Accountable {
    private final long BASE_RAM_USED = RamUsageEstimator.shallowSizeOfInstance(StoredFeatureSet.class);

    private final String name;
    private final List<Feature> features;
    private final Map<String, Integer> featureMap;

From source file com.o19s.es.ltr.feature.store.PrecompiledExpressionFeature.java

public class PrecompiledExpressionFeature implements Feature, Accountable {
    public static final String TEMPLATE_LANGUAGE = "derived_expression";

    private static final long BASE_RAM_USED = RamUsageEstimator
            .shallowSizeOfInstance(PrecompiledExpressionFeature.class);

From source file com.o19s.es.ltr.feature.store.PrecompiledTemplateFeature.java

public class PrecompiledTemplateFeature implements Feature, Accountable {
    private static final long BASE_RAM_USED = RamUsageEstimator.shallowSizeOfInstance(StoredFeature.class);

    private final String name;
    private final Mustache template;
    private final String templateString;

From source file com.o19s.es.ltr.feature.store.StoredFeature.java

public class StoredFeature implements Feature, Accountable, StorableElement {
    private static final long BASE_RAM_USED = RamUsageEstimator.shallowSizeOfInstance(StoredFeature.class);
    private static final String DEFAULT_TEMPLATE_LANGUAGE = MustacheUtils.TEMPLATE_LANGUAGE;
    public static final String TYPE = "feature";
    private final String name;
    private final List<String> queryParams;

From source file com.o19s.es.ltr.feature.store.StoredFeatureSet.java

public class StoredFeatureSet implements FeatureSet, Accountable, StorableElement {
    public static final int MAX_FEATURES = 10000;
    public static final String TYPE = "featureset";
    private final long BASE_RAM_USED = RamUsageEstimator.shallowSizeOfInstance(StoredFeatureSet.class);
    private final String name;
    private final Map<String, Integer> featureMap;

From source file com.o19s.es.ltr.ranker.dectree.NaiveAdditiveDecisionTree.java

/**
 * Naive implementation of additive decision tree.
 * May be slow when the number of trees and tree complexity if high comparatively to the number of features.
 */
public class NaiveAdditiveDecisionTree extends DenseLtrRanker implements Accountable {
    private static final long BASE_RAM_USED = RamUsageEstimator.shallowSizeOfInstance(Split.class);