I have a issue with my elasticsearch query [use elasticsearch-php 2.0]:
$client = new Elasticsearch\Client(); $suchString = addslashes(utf8_decode($_POST['suche'])); $params = [ 'index' => 'jdbc', 'type' => 'jdbc', 'body' => [ 'sort' => [ '_id' => [ 'order' => 'asc' ] ], 'from' => 0, 'size' => 100, 'query' => [ 'match' => [ 'text_full' => $suchString ] ] ], ]; $results = $client->search($params);
The results looks great; but ES only return 10 documents.
I know that by default ElasticSearch returns only 10 documents from all the ones that were found.
And i know that i can modify this with the size and from parameters -> but it dit not work for me
I hope that someone here can correct my query...