How to get all hits

In a project I need to anallyze all items found.
I tried to set limit to 50000000, and it go up from 20 to 1000

Like result for one search i get
I need to analyze all 470638 items.
Anybody have an idea how to remove this limit?

i tried to set max_matches=15000 in searchd section of config file to see if any diference. but nothing,
still 1000

you need to set both limit and max_matches at your query

SELECT ... FROM idx LIMIT 50000000 OPTION max_matches=50000000

Thank you, iI get all now.