|
|
Index Data > Zebra > Zebra - User's Guide and Reference > Indexing with File Record IDs
If you have a set of files that regularly change over time: Old files
are deleted, new ones are added, or existing files are modified, you
can benefit from using the
file ID
indexing methodology.
Examples of this type of database might include an index of WWW
resources, or a USENET news spool area.
Briefly speaking, the file key methodology uses the directory paths
of the individual records as a unique identifier for each record.
To perform indexing of a directory with file keys, again, you specify
the top-level directory after the
The resulting system is easy to administrate. To delete a record you
simply have to delete the corresponding file (say, with the
To enable indexing with pathname IDs, you must specify
For example, to update records of group
$ zebraidx -g esdd update /data1/records
The corresponding configuration file includes:
esdd.recordId: file
esdd.recordType: grs.sgml
esdd.storeKeys: 1
NoteYou cannot start out with a group of records with simple indexing (no record IDs as in the previous section) and then later enable file record Ids. Zebra must know from the first time that you index the group that the files should be indexed with file record IDs.
You cannot explicitly delete records when using this method (using the
|
|||
|
|
||||
| Copyright Index Data ApS 2008 | ||||