org.apache.blur.lucene.search
Class FacetExecutor
java.lang.Object
org.apache.blur.lucene.search.FacetExecutor
public class FacetExecutor
- extends Object
FacetExecutor
public FacetExecutor(int length)
FacetExecutor
public FacetExecutor(int length,
long[] minimumsBeforeReturning,
java.util.concurrent.atomic.AtomicLongArray counts)
FacetExecutor
public FacetExecutor(int length,
long[] minimumsBeforeReturning)
FacetExecutor
public FacetExecutor(int length,
long[] minimumsBeforeReturning,
java.util.concurrent.atomic.AtomicLongArray counts,
java.util.concurrent.atomic.AtomicBoolean running)
addScorers
public void addScorers(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.search.Scorer[] scorers)
throws IOException
- Throws:
IOException
scorersAlreadyAdded
public boolean scorersAlreadyAdded(org.apache.lucene.index.AtomicReaderContext context)
getBitSet
public org.apache.lucene.util.OpenBitSet getBitSet(org.apache.lucene.index.AtomicReaderContext context)
throws IOException
- Throws:
IOException
length
public int length()
get
public long get(int i)
throws IOException
- Throws:
IOException
processFacets
public void processFacets(java.util.concurrent.ExecutorService executor)
throws IOException
- Throws:
IOException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.