| 1 |
.TH RCHIVE 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" |
| 2 |
.SH NAME |
| 3 |
rchive \- work with a local archive of Entrez document summaries |
| 4 |
.SH SYNOPSIS |
| 5 |
\fBrchive\fP |
| 6 |
[\|\fB\-help\fP\|] |
| 7 |
[\|\fB\-strict\fP\|] |
| 8 |
[\|\fB\-mixed\fP\|] |
| 9 |
[\|\fB\-input\fP\ \fIfilename\fP\|] |
| 10 |
[\|\fB\-archive\fP\ \fIarchive\fP\ \fIindices\fP\ \fIincrement\fP\|] |
| 11 |
[\|\fB\-delete\fP\ \fIarchive\fP\ \fIindices\fP\ \fIincrement\fP\|] |
| 12 |
[\|\fB\-index\fP\ \fIelement\fP\|] |
| 13 |
[\|\fB\-fetch\fP\ \fIdirectory\fP\|] |
| 14 |
[\|\fB\-stream\fP\ \fIdirectory\fP\|] |
| 15 |
[\|\fB\-flag\fP\ \fBstrict\fP|\:\fBmixed\fP|\fBnone\fP\|] |
| 16 |
[\|\fB\-gzip\fP\|] |
| 17 |
[\|\fB\-hash\fP\|] |
| 18 |
[\|\fB\-trie\fP\ [\|\fItype\fP\|]\|] |
| 19 |
[\|\fB\-padz\fP\|] |
| 20 |
[\|\fB\-e2index\fP\ [\|\fIextras\fP\|]\|] |
| 21 |
[\|\fB\-e2invert\fP\ \fIarchive\fP\|] |
| 22 |
[\|\fB\-join\fP\|] |
| 23 |
[\|\fB\-fuse\fP\|] |
| 24 |
[\|\fB\-merge\fP\ \fIdirectory\fP\ \fIfield\fP\|] |
| 25 |
[\|\fB\-promote\fP\ \fIdirectory\fP\ \fIfield\fP\|] |
| 26 |
[\|\fB\-path\fP\ \fIdirectory\fP\|] |
| 27 |
[\|\fB\-query\fP \fIquery\fP\|] |
| 28 |
[\|\fB\-exact\fP \fIquery\fP\|] |
| 29 |
[\|\fB\-title\fP \fIquery\fP\|] |
| 30 |
[\|\fB\-count\fP \fIquery\fP\|] |
| 31 |
[\|\fB\-counts\fP \fIquery\fP\|] |
| 32 |
[\|\fB\-version\fP\|] |
| 33 |
.SH DESCRIPTION |
| 34 |
\fBrchive\fP creates, updates, or extracts records from |
| 35 |
a local archive of Entrez document summaries. |
| 36 |
.SH OPTIONS |
| 37 |
.SS Processing Flags |
| 38 |
.TP |
| 39 |
\fB\-strict\fP |
| 40 |
Remove HTML and MathML tags. |
| 41 |
.TP |
| 42 |
\fB\-mixed\fP |
| 43 |
Allow mixed content XML. |
| 44 |
.SS Data Source |
| 45 |
.TP |
| 46 |
\fB\-input\fP\ \fIfilename\fP |
| 47 |
Read XML from file instead of standard input. |
| 48 |
.SS Local Record Cache |
| 49 |
.TP |
| 50 |
\fB\-archive\fP\ \fIarchive\fP\ \fIindices\fP\ \fIincrement\fP |
| 51 |
Base path for saving individual XML files, |
| 52 |
plus paths for first\- and second\-level inverted index caches. |
| 53 |
.TP |
| 54 |
\fB\-delete\fP\ \fIarchive\fP\ \fIindices\fP\ \fIincrement\fP |
| 55 |
Same paths as \fB\-archive\fP, for deleting inverted caches. |
| 56 |
.TP |
| 57 |
\fB\-index\fP\ \fIelement\fP |
| 58 |
Use [\fIparent\fP/\fIelement\fP@\fIattribute\fP^\fIversion\fP] for identifier. |
| 59 |
.TP |
| 60 |
\fB\-fetch\fP\ \fIdirectory\fP |
| 61 |
Base path for retrieving XML files. |
| 62 |
.TP |
| 63 |
\fB\-stream\fP\ \fIdirectory\fP |
| 64 |
Path for retrieving compressed XML files (left compressed). |
| 65 |
.TP |
| 66 |
\fB\-flag\fP\ \fBstrict\fP|\fBmixed\fP|\fBnone\fP |
| 67 |
Alternative syntax for specifying the corresponding options. |
| 68 |
.TP |
| 69 |
\fB\-gzip\fP |
| 70 |
Use compression for local XML files. |
| 71 |
.TP |
| 72 |
\fB\-hash\fP |
| 73 |
Print UIDs and checksum values to standard output. |
| 74 |
.TP |
| 75 |
\fB\-trie\fP\ [\|\fItype\fP\|] |
| 76 |
Print \fBarchive\fP (default), \fBindices\fP, \fBincrement\fP, |
| 77 |
or \fBposting\fP[\|\fBs\fP\|] file path. |
| 78 |
.TP |
| 79 |
\fB\-padz\fP |
| 80 |
Pad PMIDs with leading zeros to eight characters. |
| 81 |
.SS Local Record Index |
| 82 |
.TP |
| 83 |
\fB\-e2index\fP\ [\|\fIextras\fP\|] |
| 84 |
Create Entrez index XML. |
| 85 |
\fIextras\fP (\fBtrue\fP or \fBfalse\fP; \fBfalse\fP by default) |
| 86 |
indicates whether to index extra fields. |
| 87 |
.TP |
| 88 |
\fB\-e2invert\fP\ \fIarchive\fP |
| 89 |
Combined \fB\-e2index\fP and \fB\-invert\fP in archive. |
| 90 |
.TP |
| 91 |
\fB\-join\fP |
| 92 |
Collect subsets of inverted index files. |
| 93 |
.TP |
| 94 |
\fB\-fuse\fP |
| 95 |
Combine subsets of inverted index files. |
| 96 |
.TP |
| 97 |
\fB\-merge\fP\ \fIdirectory\fP\ \fIfield\fP |
| 98 |
Combine inverted indices, dividing by term prefix. |
| 99 |
.TP |
| 100 |
\fB\-promote\fP\ \fIdirectory\fP\ \fIfield\fP |
| 101 |
Create term lists and posting files. |
| 102 |
.TP |
| 103 |
\fB\-path\fP\ \fIdirectory\fP |
| 104 |
Path to postings directory. |
| 105 |
.TP |
| 106 |
\fB\-query\fP\ \fIquery\fP |
| 107 |
Search on words or phrases in Boolean formulas. |
| 108 |
.TP |
| 109 |
\fB\-exact\fP\ \fIquery\fP |
| 110 |
Strict search for article round\-tripping. |
| 111 |
.TP |
| 112 |
\fB\-title\fP\ \fIquery\fP |
| 113 |
Exact search limited to indexed title field. |
| 114 |
.TP |
| 115 |
\fB\-count\fP\ \fIquery\fP |
| 116 |
Print terms and counts, merging wildcards. |
| 117 |
.TP |
| 118 |
\fB\-counts\fP\ \fIquery\fP |
| 119 |
Expand wildcards; print individual term counts. |
| 120 |
.SS Documentation |
| 121 |
.TP |
| 122 |
\fB\-help\fP |
| 123 |
Print usage information and some example argument combinations. |
| 124 |
.TP |
| 125 |
\fB\-version\fP |
| 126 |
Print version number. |
| 127 |
.SH SEE ALSO |
| 128 |
.BR archive\-nihocc (1), |
| 129 |
.BR archive\-nlmnlp (1), |
| 130 |
.BR archive\-nmcds (1), |
| 131 |
.BR archive\-pids (1), |
| 132 |
.BR archive\-pmc (1), |
| 133 |
.BR archive\-pubmed (1), |
| 134 |
.BR archive\-taxonomy (1), |
| 135 |
.BR custom\-index (1), |
| 136 |
.BR download\-flatfile (1), |
| 137 |
.BR download\-pubmed (1), |
| 138 |
.BR pm\-clean (1), |
| 139 |
.BR pm\-collect (1), |
| 140 |
.BR pm\-prepare (1), |
| 141 |
.BR pm\-refresh (1), |
| 142 |
.BR pm\-setup (1), |
| 143 |
.BR xfetch (1), |
| 144 |
.BR xfilter (1), |
| 145 |
.BR xinfo (1), |
| 146 |
.BR xlink (1), |
| 147 |
.BR xsearch (1), |
| 148 |
.BR xtract (1). |