Elasticsearch adjustments
This MR contains the necessary changes to run with the backend with integrated elasticsearch.
- use the q parameter to search for text
- use 10000 as high limit to query all the elements in one run as this is the highest limit that elasticsearch supports (> 10000 will return errors)