| java.lang.Object com.sun.portal.search.demo.SimpleSubmit
SimpleSubmit | class SimpleSubmit (Code) | | Applet for populating the Search database. It uses the static
strings defined below for input. The basic process is to convert
the input to SOIF and then add it to the database using rdsubmit.
If you are adding a lot of data, you will probably want to batch
the input to rdsubmit. You are not limited to just the DB fields
used in this example, you can add any fields at all and they will
behave according to their schema definitions, if any.
|
SimpleSubmit | public SimpleSubmit(String rdm, String db)(Code) | | SimpleSubmit constructor
Parameters: rdm - - url of rdm server, eg, http://search_server:port Parameters: db - - the database to submit to on this rdm serverif null, server will use the default db |
setSOIFfile | public void setSOIFfile(String filename)(Code) | | Parameters: filename - - a file to dump raw SOIF results into - onlyuse if running from the command line or an applet with filesystem access |
|
|