`pysolr.extract` returns dict with empty values for `contents` and `metadata`
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)
```
关闭于 2025-12-18 1 条评论