NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MMapDirectories offer an opportunity to take advantage of modern operating system memory management.  In effect we set aside resources to insure that Lucene has enough memory available at all times.  This is similar to what happens when you set up databases and other applications that need a minimum of resources in order to function properly.  In essence we have a contract to get transparent memory resources as a virtual memory bank of RAM and Storage.  Because we don't compete with other resources for this memory we are able to  process indexing and search tasks more efficiently. 

 

Code Block
languagejava
titleMMapDirectory Implementation
//These classes directly access the current Lucene directory object FSDirectory which will be updated to MMapDirectory
org.lexevs.dao.index.lucenesupport.DefaultLuceneDirectoryCreator
org.lexevs.dao.index.lucenesupport.LuceneDirectoryFactory.NamedDirectory


//These classes also participate in the creation and deletion of a directory on a higher level in the code path
org.lexevs.dao.index.lucenesupport.LuceneDirectoryFactory
org.lexevs.dao.index.indexregistry.SingleIndexRegistry

 

Changing the Relational Representation in Lucene

...