net.nutch.searcher
Class DistributedSearch.Server
java.lang.Object
net.nutch.ipc.Server
net.nutch.searcher.DistributedSearch.Server
- Enclosing class:
- DistributedSearch
- public static class DistributedSearch.Server
- extends Server
The search server.
Fields inherited from class net.nutch.ipc.Server |
LOG |
Constructor Summary |
DistributedSearch.Server(File directory,
int port)
Construct a search server on the index and segments in the named
directory, listening on the named port. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributedSearch.Server
public DistributedSearch.Server(File directory,
int port)
throws IOException
- Construct a search server on the index and segments in the named
directory, listening on the named port.
call
public Writable call(Writable param)
throws IOException
- Description copied from class:
Server
- Called for each call.
- Specified by:
call
in class Server
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Runs a search server.
- Throws:
Exception
Copyright © 2004 The Nutch Organization.