Closed wucherpfennig closed 9 months ago
Description nbResults is ignored
nbResults
Expected behavior Set default max number of results per search
Current behavior Defaults to always 20
20
Screenshots or Logs meilisearch.yaml :
meilisearch.yaml
meilisearch: url: http://meili:7700 nbResults: 5
the issue can be resolved by setting manually a limit like
limit
$result = $this->meiliSearchService->search( objectManager: $this->entityManager, className: PriceList::class, query: $searchTerm, searchParams: [ 'limit' => 5, 'filter' => sprintf('tenant.name = "%s"', $tenant->getName()) ] );
Description
nbResults
is ignoredExpected behavior Set default max number of results per search
Current behavior Defaults to always
20
Screenshots or Logs
meilisearch.yaml
:the issue can be resolved by setting manually a
limit
like