.TH PM-INDEX 1 2023-02-08 NCBI "NCBI Entrez Direct User's Manual" .SH NAME pm\-index \- index a local NCBI PubMed archive .SH SYNOPSIS \fBpm\-index\fP \fIoutdir\fP \fIdatadir\fP [\|\fIextras\fP\|] .SH DESCRIPTION \fBpm\-index\fP indexes the compressed NCBI PubMed XML files in the current directory on the basis of auxiliary data (a MeSH tree) in \fIdatadir\fP, producing corresponding compressed index files in \fIdir\fP. .SH OPTIONS .TP \fIextras\fP Whether to index extra fields. (\fBfalse\fP by default.) .SH SEE ALSO .BR archive\-pubmed (1), .BR download\-ncbi\-data (1), .BR download\-pubmed (1), .BR index\-pubmed (1), .BR pm\-collect (1), .BR pm\-invert (1), .BR xtract (1).