Skip to content


 LIST_BINARY_FILES - Scans a dataset for binary files of documents

  FILE_MANIFEST = ndi.database.internal.list_binary_files(NDI_DATASET, DATABASE_DOCUMENTS)

    NDI_DATASET - an ndi.dataset object
    DATABASE_DOCUMENTS - documents returned by searching the dataset using database_search

    FILE_MANIFEST - A structure with the following fields:
        'name' - The name of the file
        'file_path' - The full (absolute) pathname of the file
        'docid' - The document id that the file is associated with
        'bytes' - The size of the file in bytes