Skip to content

pysolr.extract returns dict with empty values for contents and metadata #494

@khsater

Description

@khsater

Using pysolr 3.10.0 with Solr 9.8.0, I'm getting empty values for the values 'contents' and 'metadata'. This is because Solr returns values for 'file' and 'file_metadata' instead of the aforementioned keys.

with open(file_path, 'rb') as temp_file:
            response = solr.extract(file_obj = temp_file,extractOnly=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions