[][src]Function ciff::ciff_to_pisa

pub fn ciff_to_pisa(input: &Path, output: &Path) -> Result<()>

Converts a CIFF index stored in path to a PISA "binary collection" (uncompressed inverted index) with a basename output.

Errors

Returns an error when:

  • an IO error occurs,
  • reading protobuf format fails,
  • data format is valid but any ID, frequency, or a count is negative.