org.apache.blur.lucene.search
Class PrimeDocCache

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

public class PrimeDocCache
extends Object


Field Summary
static org.apache.lucene.util.OpenBitSet EMPTY_BIT_SET
           
 
Constructor Summary
PrimeDocCache()
           
 
Method Summary
static org.apache.lucene.util.OpenBitSet getPrimeDocBitSet(org.apache.lucene.index.Term primeDocTerm, org.apache.lucene.index.AtomicReader reader)
          The way this method is called via warm up methods the likelihood of creating multiple bitsets during a race condition is very low, that's why this method is not synced.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_BIT_SET

public static final org.apache.lucene.util.OpenBitSet EMPTY_BIT_SET
Constructor Detail

PrimeDocCache

public PrimeDocCache()
Method Detail

getPrimeDocBitSet

public static org.apache.lucene.util.OpenBitSet getPrimeDocBitSet(org.apache.lucene.index.Term primeDocTerm,
                                                                  org.apache.lucene.index.AtomicReader reader)
                                                           throws IOException
The way this method is called via warm up methods the likelihood of creating multiple bitsets during a race condition is very low, that's why this method is not synced.

Throws:
IOException


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