|
Searching for Documents |
Top |
|
To search a library, use the –arcsearch command line option:
-arcsearch -arclib “library” -arclistfmt tab|csv|pipe|html|xml|xmlf -o “output file” -arclogin "userid/pswd" | ask
Refine the search by adding any appropriate arguments from this list: ‑arcdoctype, -arcdocid, ‑arctitle, ‑arcentityid, ‑arcdate, ‑arcdtmupdated, ‑arckeywords, ‑arcnotes, ‑arccats, ‑arclinks, ‑arctext, or –arcsubid. Each of these arguments can be a wildcard (*value* or value*), an exact value “12345”, a range “12/1/2007-12/31/2007”, or a regular expression (“~[0-9][A-Z]”). You can use “not” to look for archives that do not match a criteria, and “and” or “or” to search for multiple values or alternate values.
Searches are optimized when possible. The best optimizations are document IDs, entity IDs, small date ranges, and multi-level categories.
Note that document types and document IDs are case-sensitive when optimized.
|