List of usage examples for org.apache.lucene.util Accountable interface-usage
From source file com.o19s.es.ltr.ranker.linear.LinearRanker.java
/** * Simple linear ranker that applies a dot product based * on the provided weights array. */ public class LinearRanker extends DenseLtrRanker implements Accountable { private final float[] weights;
From source file com.rocana.lucene.codec.v1.RocanaFieldReader.java
/**
* Fork of Lucene's {@link org.apache.lucene.codecs.blocktree.FieldReader}
* from Lucene's git repository, tag: releases/lucene-solr/5.5.0
*
* Why we forked:
* - To use the other forked classes, like {@link RocanaBlockTreeTermsReader}.
From source file it.agilelab.bigdata.spark.search.impl.BigChunksRAMDirectory.java
/**
* A memory-resident {@link Directory} implementation. Locking
* implementation is by default the {@link SingleInstanceLockFactory}.
*
* <p><b>Warning:</b> This class is not intended to work with huge
* indexes. Everything beyond several hundred megabytes will waste
From source file it.agilelab.bigdata.spark.search.impl.BigChunksRAMFile.java
/** * Represents a file in RAM as a list of byte[] buffers. * @lucene.internal */ public class BigChunksRAMFile implements Accountable, Serializable { private static final long serialVersionUID = 1L; protected final ArrayList<byte[]> buffers = new ArrayList<>();
From source file it.agilelab.bigdata.spark.search.impl.BigChunksRAMOutputStream.java
/** * A memory-resident {@link IndexOutput} implementation. * * @lucene.internal */ public class BigChunksRAMOutputStream extends IndexOutput implements Accountable {
From source file monad.face.internal.MonadSparseFixedBitSet.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 org.alfresco.solr.component.AsyncBuildSuggestComponent.java
/**
* Originally taken from {@link SuggestComponent} and modified, this
* class provides a {@link SearchComponent} that builds {@link SolrSuggester}
* objects asynchronously to avoid blocking search
* requests or increasing startup time of the servlet container.
*
From source file org.apache.ignite.internal.processors.query.h2.opt.GridLuceneFile.java
/** * Lucene file. */ public class GridLuceneFile implements Accountable { /** */ private LongArray buffers = new LongArray();
From source file org.apache.solr.handler.component.SmartSuggestComponent.java
/** * SuggestComponent: interacts with multiple {@link SmartSolrSuggester} to serve up suggestions * Responsible for routing commands and queries to the appropriate {@link SmartSolrSuggester} * and for initializing them as specified by SolrConfig */ public class SmartSuggestComponent extends SearchComponent implements SolrCoreAware, SuggesterParams, Accountable {
From source file org.apache.solr.handler.component.SuggestComponent.java
/** * SuggestComponent: interacts with multiple {@link SolrSuggester} to serve up suggestions * Responsible for routing commands and queries to the appropriate {@link SolrSuggester} * and for initializing them as specified by SolrConfig */ public class SuggestComponent extends SearchComponent implements SolrCoreAware, SuggesterParams, Accountable {