Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
khsater opened this issue Feb 6, 2025 · 0 comments
Open

Comments

@khsater
Copy link

khsater commented Feb 6, 2025

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant