rchive-linux
Linux platform binary for EDirect local archiving and postings management. It can archive XML records, build inverted indices, promote postings, and run word/phrase queries against a prepared local postings directory.
Quick Start
- Command:
rchive.Linux [options] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/rchive.Linux - Version seen locally:
24.0
When To Use This Tool
- Running the compiled Linux backend for local EDirect archive/index operations
- Building Entrez-style archive and postings infrastructure from XML input
- Querying an already prepared postings directory with
-query,-count, or-counts - Debugging raw
rchivebackend behavior separately from the wrapper script
Common Patterns
# Show direct binary help
rchive.Linux -help
# Build Entrez index XML from XML input
cat records.xml | rchive.Linux -strict -e2index
# Query an existing postings directory
rchive.Linux -path /path/to/Postings -query 'dna repair'
Recommended Workflow
- Use
rchive.Linux -helpto choose the right archive/index stage. - Separate build-stage operations (
-e2index,-e2invert,-merge,-promote) from query-stage operations (-query,-count,-counts). - Only run query/count modes after a valid postings directory has been prepared and supplied.
- Prefer the public
rchivewrapper if you want the platform-dispatch layer instead of direct Linux binding.
Guardrails
rchive.Linux -helpandrchive.Linux -versionboth work here and report version24.0.- Query-like modes are not self-contained. In local testing,
rchive.Linux -count dnaagainst ad hoc stdin failed withUnable to get folder Postings for database pubmed. - The built-in help shows
-archive/-fetch/-streamfor local record caches and-e2index/-e2invert/-join/-fuse/-merge/-promotefor postings construction. - Do not treat this as a generic XML transformer; it expects either archive/index workflows or an already prepared postings environment.