diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2018-02-18 12:11:06 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2018-02-18 12:11:49 -0800 |
commit | 0fce294ba7f9cd00c56bff71b4fe2889c0196120 (patch) | |
tree | 3db36a9b4cca83fcee3cde51e2d12bca653b6976 /lib/kkuleomi | |
parent | Fix Changes index again. (diff) | |
download | packages-5-0fce294ba7f9cd00c56bff71b4fe2889c0196120.tar.gz packages-5-0fce294ba7f9cd00c56bff71b4fe2889c0196120.tar.bz2 packages-5-0fce294ba7f9cd00c56bff71b4fe2889c0196120.zip |
packages_search: raise result limit for USE-flag search
Some USE flags like static-libs are very common, so raise the limit.
Bug: https://bugs.gentoo.org/648040
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'lib/kkuleomi')
-rw-r--r-- | lib/kkuleomi/store/models/package_search.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kkuleomi/store/models/package_search.rb b/lib/kkuleomi/store/models/package_search.rb index 94c6d60..263eb25 100644 --- a/lib/kkuleomi/store/models/package_search.rb +++ b/lib/kkuleomi/store/models/package_search.rb @@ -30,6 +30,7 @@ module Kkuleomi::Store::Models::PackageSearch # Results are aggregated by package atoms. def find_atoms_by_useflag(useflag) Version.search( + size: 10000, # default limit is 10. query: { bool: { must: { match_all: {} }, |