org.apache.blur.lucene.search
Class FacetExecutor

java.lang.Object
  extended by org.apache.blur.lucene.search.FacetExecutor

public class FacetExecutor
extends Object


Constructor Summary
FacetExecutor(int length)
           
FacetExecutor(int length, long[] minimumsBeforeReturning)
           
FacetExecutor(int length, long[] minimumsBeforeReturning, AtomicLongArray counts)
           
FacetExecutor(int length, long[] minimumsBeforeReturning, AtomicLongArray counts, AtomicBoolean running)
           
 
Method Summary
 void addScorers(AtomicReaderContext context, org.apache.lucene.search.Scorer[] scorers)
           
 long get(int i)
           
 org.apache.lucene.util.OpenBitSet getBitSet(AtomicReaderContext context)
           
 int length()
           
 void processFacets(ExecutorService executor)
           
 boolean scorersAlreadyAdded(AtomicReaderContext context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetExecutor

public FacetExecutor(int length)

FacetExecutor

public FacetExecutor(int length,
                     long[] minimumsBeforeReturning,
                     AtomicLongArray counts)

FacetExecutor

public FacetExecutor(int length,
                     long[] minimumsBeforeReturning)

FacetExecutor

public FacetExecutor(int length,
                     long[] minimumsBeforeReturning,
                     AtomicLongArray counts,
                     AtomicBoolean running)
Method Detail

addScorers

public void addScorers(AtomicReaderContext context,
                       org.apache.lucene.search.Scorer[] scorers)
                throws IOException
Throws:
IOException

scorersAlreadyAdded

public boolean scorersAlreadyAdded(AtomicReaderContext context)

getBitSet

public org.apache.lucene.util.OpenBitSet getBitSet(AtomicReaderContext context)
                                            throws IOException
Throws:
IOException

length

public int length()

get

public long get(int i)
         throws IOException
Throws:
IOException

processFacets

public void processFacets(ExecutorService executor)
                   throws IOException
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.