org.compass.core.lucene.search
Class CacheableMultiReader

java.lang.Object
  extended by org.apache.lucene.index.IndexReader
      extended by org.apache.lucene.index.MultiReader
          extended by org.compass.core.lucene.search.CacheableMultiReader

public class CacheableMultiReader
extends MultiReader

An extension to Lucene MultiReader that can be cached.

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader
IndexReader.FieldOption
 
Field Summary
 
Fields inherited from class org.apache.lucene.index.MultiReader
subReaders
 
Fields inherited from class org.apache.lucene.index.IndexReader
hasChanges
 
Constructor Summary
CacheableMultiReader(IndexReader[] subReaders)
           
CacheableMultiReader(IndexReader[] subReaders, boolean closeSubReaders)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.apache.lucene.index.MultiReader
docFreq, doClose, doCommit, document, doDelete, doSetNorm, doUndeleteAll, getFieldNames, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isCurrent, isDeleted, isOptimized, maxDoc, norms, norms, numDocs, reopen, termDocs, termPositions, terms, terms
 
Methods inherited from class org.apache.lucene.index.IndexReader
acquireWriteLock, close, commit, decRef, deleteDocument, deleteDocuments, directory, document, ensureOpen, flush, getCurrentVersion, getCurrentVersion, getCurrentVersion, getIndexCommit, getTermInfosIndexDivisor, incRef, indexExists, indexExists, indexExists, isLocked, isLocked, lastModified, lastModified, lastModified, listCommits, main, numDeletedDocs, open, open, open, open, open, open, open, open, open, setNorm, setNorm, setTermInfosIndexDivisor, termDocs, termPositions, undeleteAll, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheableMultiReader

public CacheableMultiReader(IndexReader[] subReaders)

CacheableMultiReader

public CacheableMultiReader(IndexReader[] subReaders,
                            boolean closeSubReaders)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright (c) 2004-2009 The Compass Project.