Home » lucene-3.0.1 » org.apache » lucene » demo » [javadoc | source]
org.apache.lucene.demo
static class: SearchFiles.OneNormsReader [javadoc | source]
java.lang.Object
   org.apache.lucene.index.IndexReader
      org.apache.lucene.index.FilterIndexReader
         org.apache.lucene.demo.SearchFiles$OneNormsReader
Use the norms from one field for all fields. Norms are read into memory, using a byte of memory per document per searched field. This can cause search of large collections with a large number of fields to run out of memory. If all of the fields contain only a single token, then the norms are all identical, then single norm vector may be shared.
Fields inherited from org.apache.lucene.index.FilterIndexReader:
in
Fields inherited from org.apache.lucene.index.IndexReader:
hasChanges,  $assertionsDisabled,  class$org$apache$lucene$index$IndexReader
Constructor:
 public OneNormsReader(IndexReader in,
    String field) 
Method from org.apache.lucene.demo.SearchFiles$OneNormsReader Summary:
norms
Methods from org.apache.lucene.index.FilterIndexReader:
directory,   doClose,   doCommit,   doDelete,   doSetNorm,   doUndeleteAll,   docFreq,   document,   getFieldNames,   getTermFreqVector,   getTermFreqVector,   getTermFreqVector,   getTermFreqVectors,   getVersion,   hasDeletions,   hasNorms,   isCurrent,   isDeleted,   isOptimized,   maxDoc,   norms,   norms,   numDocs,   termDocs,   termPositions,   terms,   terms
Methods from org.apache.lucene.index.IndexReader:
acquireWriteLock,   class$,   close,   commit,   decRef,   deleteDocument,   deleteDocuments,   directory,   doClose,   doCommit,   doDelete,   doSetNorm,   doUndeleteAll,   docFreq,   document,   document,   ensureOpen,   flush,   getCurrentVersion,   getCurrentVersion,   getCurrentVersion,   getFieldNames,   getRefCount,   getTermFreqVector,   getTermFreqVector,   getTermFreqVector,   getTermFreqVectors,   getTermInfosIndexDivisor,   getVersion,   hasDeletions,   hasNorms,   incRef,   indexExists,   indexExists,   indexExists,   isCurrent,   isDeleted,   isLocked,   isLocked,   isOptimized,   lastModified,   lastModified,   lastModified,   main,   maxDoc,   norms,   norms,   numDocs,   open,   open,   open,   open,   reopen,   setNorm,   setNorm,   setTermInfosIndexDivisor,   termDocs,   termDocs,   termPositions,   termPositions,   terms,   terms,   undeleteAll,   unlock
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.demo.SearchFiles$OneNormsReader Detail:
 public byte[] norms(String field) throws IOException