net.sf.lucis.core
Interface DirectoryProvider

All Known Subinterfaces:
ReindexingStore, Store<T>
All Known Implementing Classes:
FSStore, RAMStore, ReindexingFSStore

public interface DirectoryProvider

A directory provider for searchers.

Author:
Andres Rodriguez

Method Summary
 Directory getDirectory()
          Returns the underlying directory.
 IndexReader getManagedReader()
          Returns a managed index reader for the store.
 Object getVersion()
          Returns the current version.
 

Method Detail

getDirectory

Directory getDirectory()
Returns the underlying directory.

Returns:
The directory used by the index.

getVersion

Object getVersion()
Returns the current version. Version objects are only tested for equality so no ordering is required. However they MUST obey equals and hashCode contracts.


getManagedReader

IndexReader getManagedReader()
                             throws IOException
Returns a managed index reader for the store.

Throws:
IOException


Copyright © 2013. All Rights Reserved.