You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/03/04 13:02:02 UTC
[camel-website] 13/13: update: limited 10 hits per search results
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 7eab48e2bc3cb5d32d53fcdf440643d665ce109f
Author: Nayananga Muhandiram <na...@wso2.com>
AuthorDate: Tue Mar 3 23:27:06 2020 +0530
update: limited 10 hits per search results
---
antora-ui-camel/src/js/vendor/alogliasearch.bundle.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/antora-ui-camel/src/js/vendor/alogliasearch.bundle.js b/antora-ui-camel/src/js/vendor/alogliasearch.bundle.js
index 4b29c9f..7aa53c5 100644
--- a/antora-ui-camel/src/js/vendor/alogliasearch.bundle.js
+++ b/antora-ui-camel/src/js/vendor/alogliasearch.bundle.js
@@ -35,7 +35,9 @@
results.innerHTML = ''
return
}
- index.search(search.value)
+ index.search(search.value, {
+ hitsPerPage: 10,
+ })
.then((results) => {
const hits = results.hits
const data = hits.reduce((data, hit) => {