Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit a73ed4f

Browse files
committed
Merge pull request #608 from cristianbuj/patch-1
Update configuration.rst: add max_results option
2 parents 8d1f866 + df83cff commit a73ed4f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bundles/search/configuration.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ is the following configuration:
3333
manager_name: ~
3434
translation_strategy: ~
3535
search_fields: []
36+
max_results: null
3637
3738
.. code-block:: xml
3839
@@ -52,6 +53,7 @@ is the following configuration:
5253
<title>title</title>
5354
<summary>body</summary>
5455
</search-field>
56+
max-results="null"
5557
</phpcr>
5658
</persistence>
5759
</config>
@@ -70,6 +72,7 @@ is the following configuration:
7072
'title' => 'title',
7173
'summary' => 'body',
7274
),
75+
'max_results' => null
7376
));
7477
7578
enabled
@@ -142,3 +145,10 @@ template.
142145
));
143146
144147
.. _`LiipSearchBundle`: https://github.com/liip/LiipSearchBundle
148+
149+
max_results
150+
""""""""""""""""
151+
152+
**type**: ``integer`` **default**: ``null``
153+
154+
Defines a limit for number of results returned.

0 commit comments

Comments
 (0)