Interface RMIRemoteSearchable

All Superinterfaces:
Closeable, Remote, Searchable
All Known Implementing Classes:

Deprecated. This package (all of contrib/remote) will be removed in 4.0.

public interface RMIRemoteSearchable
extends Searchable, Remote

Marker interface to enable subclasses of Searchable to be used via Java RMI. Classes implementing this interface can be used as a RMI - "remote object".

RMIRemoteSearchable extends Searchable and can transparently be used as a such.

Example usage:

   RMIRemoteSearchable remoteObject = ...;
   String remoteObjectName = ...;
   Naming.rebind (remoteObjectName, remoteObject);
   Searchable luceneSearchable = (Searchable) Naming.lookup (remoteObjectName);

Method Summary
Methods inherited from interface
close, doc, doc, docFreq, docFreqs, explain, maxDoc, rewrite, search, search, search

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.