DREADDDATA

Note: This command requires a POST request method.

Allows you to index data over a socket into child IDOL servers. Use this command if the data is not located on the same machine as the IDOL servers into which are indexing. Parameters you use with DREADDDATA override any equivalent settings in the child IDOL server's configuration file.

If you have set DelayedSync to true or you have set a high MaxSyncDelay in the configuration file, some time may elapse before a file is indexed.

Example

DREADDDATA?[optionalParameters]Data#DREENDDATA[KillDuplicates=Option]\n\n


Example 1

POST /DREADDDATA?&DREDBNAME=News HTTP/1.0\n
Content-Length: 1000\n\n
#DREREFERENCE 392348A0\n
#DREFIELD authorname1="Brown"\n
#DREFIELD authorname2="Edgar"\n
#DREFIELD title="Dr."\n
#DREDATE 1998/08/06\n
#DRETITLE\n
Jurassic Molecules\n
#DRECONTENT\n
Using a technique called test tube evolution, scientists created a nucleic acid enzyme, the first known enzyme that uses an amino acid to start chemical activity. Scientists hope that the creation of this molecule will lead to the elusive precursor. The precursor, by definition, will have to contain both the genetic code for replication and an enzyme to trigger self replication.
#DRETYPE text\n
#DREDBNAME Science\n
#DREENDDOC\n
#DREENDDATAREFERENCE\n\n


Example 2

POST /DREADDDATA?&DREDBNAME=News HTTP/1.0\n
Content-Length: 1000\n\n
#DREREFERENCE 572801A2\n
#DREFIELD author="George Eliot"\n
#DREDATE 2005/24/03\n
#DRETITLE\n
Roses\n
#DRECONTENT\n
You love the roses - so do I. I wish\n
They sky would rain down roses, as they rain\n
From off the shaken bush. Why will it not?\n
Then all the valley would be pink and white\n
And soft to tread on. They would fall as light\n
As feathers, smelling sweet; and it would be\n
Like sleeping and like waking, all at once!\n
#DRETYPE text\n
#DREDBNAME Poetry\n
#DREENDDOC\n
#DREENDDATANOOP\n\n

Parameter Description Required
Data The data to be indexed. yes
ACLFields Fields that contain ACLs (Access Control Lists).
CantHaveFields Fields to be discarded.
DatabaseFields Fields that identify the database in which to store the data. see comment
DateFields Fields from which to read the data's date.
Delete Deletes the IDX or XML file after indexing.
DocumentDelimiters Fields that indicate the beginning and end of the document.
DocumentFormat The format of the data to be indexed.
DREDbName The database in which to index the data. see comment
ExpiryDateFields Fields that contain the data's expiry date.
FlattenIndexFields Fields in an XML document whose content is to be indexed as one level.
IDXFieldPrefix An alternative name for the Document subtree.
IndexFields Fields to be stored as Index fields.
KeepExisting Modifies the KillDuplicates operation.
KillDuplicates options Determines how IDOL server handles duplicate content.
KillDuplicatesDB The database to which duplicate documents are moved.
KillDuplicatesDBField The name of a field in duplicate documents containing the name of the database to which duplicate documents are moved.
KillDuplicatesMatchDBs Lists the databases that are searched for duplicate matches.
KillDuplicatesMatchTargetDB Lists the databases that are searched for duplicate matches.
LanguageFields Fields that contain the data's language type.
LanguageType The language type of the data to be indexed.
MustHaveFields IDX file fields to be stored in IDOL server.
Priority Sets the priority of an indexing job.
SectionFields Fields that indicate the start of a new document section in the data.
SecurityFields Fields that contain the document's security type.
SecurityType The security type of the data to be indexed.
TitleFields Fields that contain the document's title.
Comments

You must specify DREDbName or DatabaseFields if the IDOL server configuration file does not contain a field process that allows it to read documents' destination databases from fields they contain.