reorder-docids

Usage

Reassigns the document IDs.
Usage: ../../../build/bin/reorder-docids [OPTIONS]

Options:
  -h,--help                   Print this help message and exit
  -c,--collection TEXT REQUIRED
                              Collection basename
  -o,--output TEXT            Output basename
  --documents TEXT            Document lexicon
  --reordered-documents TEXT Needs: --documents
                              Reordered document lexicon
  --seed UINT Needs: --random Random seed.
  --store-fwdidx TEXT Needs: --recursive-graph-bisection
                              Output basename (forward index)
  --fwdidx TEXT Needs: --recursive-graph-bisection
                              Use this forward index
  -m,--min-len UINT Needs: --recursive-graph-bisection
                              Minimum list threshold
  -d,--depth UINT:INT in [1 - 64] Needs: --recursive-graph-bisection Excludes: --node-config
                              Recursion depth
  --node-config TEXT Needs: --recursive-graph-bisection Excludes: --depth
                              Node configuration file
  --nogb Needs: --recursive-graph-bisection
                              No VarIntGB compression in forward index
  -p,--print Needs: --recursive-graph-bisection
                              Print ordering to standard output
  -j,--threads UINT           Number of threads
  -L,--log-level TEXT:{critical,debug,err,info,off,trace,warn} [info] 
                              Log level
  --config                    Configuration .ini file
[Option Group: methods]
   
  [Exactly 1 of the following options is required]
  Options:
    --random Needs: --output    Assign IDs randomly. You can use --seed for deterministic results.
    --from-mapping TEXT         Use the mapping defined in this new-line delimited text file
    --by-feature TEXT           Order by URLs from this file
    --recursive-graph-bisection,--bp
                                Use recursive graph bisection algorithm