public class PushServer extends Object
NoOpHarvester
in the config.
Once started, the server by default listens on 127.0.0.1, port 8089.
You can index a document by doing a PUT
request and delete documents
by doing a DELETE
request. The path pattern is:
/harvesterID/identifier
. If the harvester does not exist a 404 Not Found
is returned. The push server
To configure host and port, pass system properties server.host
and
server.port
. If you want to prepend all path names with some constant
prefix, pass system property server.rootPath
. This prepends this
path to the above pattern.
NoOpHarvester
Constructor and Description |
---|
PushServer(Config conf,
String host,
int port,
String rootPath) |
Copyright ©2007-2013 panFMP Developers c/o Uwe Schindler