cobs_index.classic_construct_list

classic_construct_list(list: cobs_index.DocumentList, out_file: str, index_params: cobs_index.ClassicIndexParameters = <cobs_index.ClassicIndexParameters object at 0x7f49d20305a8>, tmp_path: str = '') None

Construct a COBS Classic Index from a pre-populated DocumentList object.

Parameters
  • input (DocumentList) – DocumentList object of documents to index

  • out_file (str) – path to the output .cobs_classic index file

  • index_params (ClassicIndexParameters) – instance of classic index parameter object

  • tmp_path (str) – directory for intermediate index files, default: out_file + .tmp