Problems with Elasticsearch limit.. Solving problem with labeling.. When you filter more than 10000 objects you can't browse because there is a limit on elasticsearch. paginate-search-results is difficult in haystack.
If this index is not used so intensively then you can increase maximum in elastic.
Elasticsearch show indexes
curl -X GET "144.76.157.233:9200/_cat/indices"
green open jobs_vacaturestoday 5 1 3622 0 52.1mb 26mb
green open profile_vacaturestoday 5 1 769725 0 3.7gb 1.8gb
curl -X PUT "144.76.157.233:9200/profile_vacaturestoday/_settings?pretty" -H 'Content-Type: application/json' -d'
{
"index" : {
"max_result_window" : 2000000
}
}
'
Result window is too large
curl -XPUT "http://144.76.157.233:9200/profile_vacaturestoday/_settings" -d '{ "index" : { "max_result_window" : 500000 } }' -H "Content-Type: application/json"
Comments
Post a Comment