This topic provides instructions on controlling the maximum number of items that
a Share search returns.
By default, the Share search feature returns a maximum of 250 search results. You
can extend this number of search results to return more than 250 entries.
- Download the share-config.xml file.
- Open the share-config.xml file and copy the <config evaluator="string-compare" condition="Search" replace="true"> section.
- Open the <web-extension>\share-config-custom.xml file and then paste the copied section.
- Locate the <max-search-results>250</max-search-results> property and then edit the value to your preferred number of search results.
-
For the changes to take effect, refresh the SkyVault web scripts. To refresh
the web scripts:
-
Navigate to the SkyVault web scripts Home page.
For example, go to: http://<your-host>:8080/share/page/index.
-
Click on Refresh Web Scripts.
You have now refreshed the web scripts and set a limit to the number of items a search in Share returns.
-
Navigate to the SkyVault web scripts Home page.
Note: Custom searches and searches from the node browser use the
solr.query.maximumResultsFromUnlimitedQuery property to control
search results. For more information, see Solr 4 core configuration
properties.