| 1 |
.TH CUSTOM-INDEX 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" |
| 2 |
.SH NAME |
| 3 |
custom\-index \- add a custom index to a local NCBI Entrez archive |
| 4 |
.SH SYNOPSIS |
| 5 |
.B custom\-index |
| 6 |
\fIhelper\fP |
| 7 |
\fIfield\fP\ ... |
| 8 |
.SH DESCRIPTION |
| 9 |
\fBcustom\-index\fP adds a custom index |
| 10 |
for one or more specified fields |
| 11 |
to a local NCBI Entrez Archive |
| 12 |
on the basis of a supplied helper command |
| 13 |
that produces an Entrez\-style XML index. |
| 14 |
On Debian systems, some such helpers are |
| 15 |
\fB/usr/share/doc/ncbi\-entrez\-direct/examples/idx\-*\fP. |
| 16 |
.SH OPTIONS |
| 17 |
.TP |
| 18 |
\fIhelper\fP |
| 19 |
Helper command into which to pipe each uncompressed document. |
| 20 |
.TP |
| 21 |
\fIfield\fP |
| 22 |
Name of a field being indexed (\fIe.g.\fP, \fBANUM\fP). |
| 23 |
.SH ENVIRONMENT |
| 24 |
.TP |
| 25 |
.B EDIRECT_LOCAL_ARCHIVE |
| 26 |
Local archive directory to use; |
| 27 |
expected to hold an absolute path. |
| 28 |
.TP |
| 29 |
.B EDIRECT_LOCAL_WORKING |
| 30 |
Directory to hold intermediate subtrees; |
| 31 |
expected to hold an absolute path. |
| 32 |
Defaults to the local archive directory when not set. |
| 33 |
.SH SEE ALSO |
| 34 |
.BR archive\-pubmed (1), |
| 35 |
.BR rchive (1), |
| 36 |
.BR xtract (1). |