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
 org.apache.lucene.store.Directory getDirectory()
          Returns the underlying directory.
 java.lang.Object getVersion()
          Returns the current version.
 

Method Detail

getDirectory

org.apache.lucene.store.Directory getDirectory()
Returns the underlying directory.

Returns:
The directory used by the index.

getVersion

java.lang.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.



Copyright © 2009. All Rights Reserved.