SYMPTOMS
With the ZyINDEX Import utility command line utility you can move or copy one or more files to a
designated index or upload them to a index at a website.
You can specify fields which should be set in on the document(s) in the index.
In order to apply Primary keys and reserve a Primary key for a future document (combined with fields) you can use a command line argument.
CAUSE
Not Applicable
RESOLUTION
You can specify a file by name (-f "filename") or by Primary key value (-key "prim key value").
Subsequently you can also specify a file by Primary key value, or couple a file to a Primary key value by using the command line argument: -k
The applicable scenarios are:
Reserve a Primary key ("123") for a future document, combined with fields:
ZyIndexImport -q -i C:\Indexes\Index1 -k 123 -v "id=123" -v "field1=A Value"
Update fields for a document which does not exist yet:
ZyIndexImport -q -i C:\Indexes\Index1 -k 123 -v "field1=Another Value"
Bind a file to the Primary key:
ZyIndexImport -q -i C:\Indexes\Index1 -v "id=123" -f "C:\Data\TestFile.txt"
In addition you can also update field values for a document:
ZyIndexImport -q -i C:\Indexes\Index1 -k 123 -v "field1=Again another Value"
APPLIES TO
6.0; 6.1; 6.1 Service Pack 1; 6.2; 6.2 Service Pack 1; 6.3
Comments
0 comments
Article is closed for comments.