Skip to content

Tool invert argument --term-count should be a required argument #619

@lgrz

Description

@lgrz

The documentation for invert mentions that the term count argument is required. But this is not the case in the actual tool arguments in tools/invert.cpp. Need to confirm which one it should be.

Docs.

Note that the script requires as parameter the number of terms to be

tools/invert.

$ ./build/debug/bin/invert --help
Constructs an inverted index from a forward index.
Usage: ../../pisa/build/debug/bin/invert [OPTIONS]

Options:
  -h,--help                   Print this help message and exit
  -i,--input TEXT REQUIRED    Forward index basename
  -o,--output TEXT REQUIRED   Output inverted index basename
  --term-count UINT           Number of distinct terms in the forward index
  -j,--threads UINT           Number of threads
  --batch-size UINT [100000]  Number of documents to process at a time
  -L,--log-level TEXT:{critical,debug,err,info,off,trace,warn} [info] 
                              Log level
  --config                    Configuration .ini file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions