net.nutch.searcher
Class DistributedSearch.Server

java.lang.Object
  extended bynet.nutch.ipc.Server
      extended bynet.nutch.searcher.DistributedSearch.Server
Enclosing class:
DistributedSearch

public static class DistributedSearch.Server
extends Server

The search server.


Field Summary
 
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.
 
Method Summary
 Writable call(Writable param)
          Called for each call.
static void main(String[] args)
          Runs a search server.
 
Methods inherited from class net.nutch.ipc.Server
join, setTimeout, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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.