Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
org.apache.lucene.search.highlight
static final class: WeightedSpanTermExtractor.FakeReader [javadoc | source]
java.lang.Object
   org.apache.lucene.index.IndexReader
      org.apache.lucene.index.FilterIndexReader
         org.apache.lucene.search.highlight.WeightedSpanTermExtractor$FakeReader

All Implemented Interfaces:
    Cloneable, Closeable

A fake IndexReader class to extract the field from a MultiTermQuery
Field Summary
 String field     
Fields inherited from org.apache.lucene.index.FilterIndexReader:
in
Fields inherited from org.apache.lucene.index.IndexReader:
hasChanges,  DEFAULT_TERMS_INDEX_DIVISOR
Constructor:
 FakeReader() 
Method from org.apache.lucene.search.highlight.WeightedSpanTermExtractor$FakeReader Summary:
terms
Methods from org.apache.lucene.index.FilterIndexReader:
directory,   doClose,   doCommit,   doDelete,   doSetNorm,   doUndeleteAll,   docFreq,   document,   getFieldNames,   getSequentialSubReaders,   getTermFreqVector,   getTermFreqVector,   getTermFreqVector,   getTermFreqVectors,   getVersion,   hasDeletions,   hasNorms,   isCurrent,   isDeleted,   isOptimized,   maxDoc,   norms,   norms,   numDocs,   termDocs,   termDocs,   termPositions,   terms,   terms
Methods from org.apache.lucene.index.IndexReader:
acquireWriteLock,   clone,   clone,   close,   commit,   commit,   decRef,   deleteDocument,   deleteDocuments,   directory,   doClose,   doCommit,   doDelete,   doSetNorm,   doUndeleteAll,   docFreq,   document,   document,   ensureOpen,   flush,   flush,   getCommitUserData,   getCommitUserData,   getCurrentVersion,   getFieldCacheKey,   getFieldNames,   getIndexCommit,   getRefCount,   getSequentialSubReaders,   getTermFreqVector,   getTermFreqVector,   getTermFreqVector,   getTermFreqVectors,   getTermInfosIndexDivisor,   getUniqueTermCount,   getVersion,   hasDeletions,   hasNorms,   incRef,   indexExists,   isCurrent,   isDeleted,   isOptimized,   lastModified,   listCommits,   main,   maxDoc,   norms,   norms,   numDeletedDocs,   numDocs,   open,   open,   open,   open,   open,   open,   open,   reopen,   reopen,   reopen,   setNorm,   setNorm,   termDocs,   termDocs,   termPositions,   termPositions,   terms,   terms,   undeleteAll
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.highlight.WeightedSpanTermExtractor$FakeReader Detail:
 public TermEnum terms(Term t) throws IOException