This function creates an index by first ingesting the PDF file and then
creating the index.
Usage
create_index_from_pdf(file_path, source, link = NULL, overwrite = FALSE)
Arguments
- file_path
Character string specifying the path to the PDF file.
- source
Character string specifying the source of the PDF.
- link
Character string specifying the link to the PDF file (optional).
- overwrite
Logical, whether to overwrite the existing index (default:
FALSE).
Value
The function writes an index in Parquet format to disk.