matthiaskoenig / pkdb

Pharmacokinetics database
https://alpha.pk-db.com
30 stars 6 forks source link

Query request during download exceed the allowed maximum size of [65536] #637

Closed janekg89 closed 3 years ago

janekg89 commented 3 years ago

http://0.0.0.0:8000/api/v1/pkdata/?format=json&download=true



Request Method: | GET
-- | --
http://0.0.0.0:8000/api/v1/pkdata/?format=json&download=true
3.1
RequestError
RequestError(400, 'search_phase_execution_exception', 'failed to create query: The number of terms [67034] used in the Terms Query request has exceeded the allowed maximum of [65536]. This maximum can be set by changing the [index.max_terms_count] index level setting.')
/usr/local/lib/python3.7/site-packages/elasticsearch/connection/base.py, line 301, in _raise_error
/usr/local/bin/python
3.7.6
['/code',  '/usr/local/lib/python37.zip',  '/usr/local/lib/python3.7',  '/usr/local/lib/python3.7/lib-dynload',  '/usr/local/lib/python3.7/site-packages',  '/code',  '/usr/local/lib/python3.7/site-packages/IPython/extensions']
Fri, 11 Sep 2020 10:13:19 +0000

``