Appendixes > Manually Create IDX Files > IDX Format

IDX Format
Enter a unique reference string for the document. Usually this reference is a file name, URL, or a unique code number.
(This parameter is optional. However, if you do not enter #DRECONTENT, you must specify one or more #DREFIELD NameN fields. Otherwise, the document does not contain any content).
Specify the name of each DREFIELD you are defining, and enter an appropriate value for it. For example, to index customer details:
If the document contains only one instance of the DREFIELD you are defining, you do not need to add a qualifier to the name of the field. For example:
You can define the same DREFIELD with different values. For example:
(This parameter is optional. However, if you do not enter a #DREFIELD NameN field, you must specify #DRECONTENT. Otherwise, the document does not contain any content.)
Note: DREFIELD names must not contain spaces, accents, or multibyte characters. If you use these text elements, IDOL server removes them when it indexes the fields. You must also change any queries that reference field names containing these elements to use the modified field name.
Enter the creation date of the document using the format you specified for the DateFormat parameter in the IDOL server configuration file. By default, this yyyy/mm/dd.
Enter y, if you want to store the document's content in IDOL server, or n if you do not want to store the content.
If you are indexing a large document and want to divide it into smaller sections, you can give each section a DRESECTION number to index the defined sections as individual documents into IDOL server.
apart from the #DRESECTION number and the #DRECONTENT, each section must contain the same IDOL server field values.
NOTE The text file must start with #DREREFERENCE and end with #DREENDDOC.
This is an example of a text file that IDOL server can index:
#DREFIELD authorname1=”Brown”
#DREFIELD authorname2=”Edgar”
#DREFIELD title=”Dr.”
#DREDATE 1998/08/06
Jurassic Molecules
Scientists announced last week the successful reproduction of a possible precursor to all life on Earth. The molecules consist of a part of DNA and the molecular "scissors" responsible for destroying messenger RNA in humans.
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.