I am using invenio_search to search data from elasticsearch. I am able to query the elasticsearch and the results shows hits greater than 500. But receiving only 10 records. Is there any way to change the configuration so that to get entire records from elasticsearch.
By default Elastic returns 10 documents! if you want to increase the number of documents, add the
size parameter in your query.
Thanks for the suggestion. I faced this issue in invenio search and I found the solution and is given below.
search = RecordsSearch()
search = search.query(QueryString(query='mi'))
count = search.count()
results = search[0:count].execute().to_dict()
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.