all repos — searchix @ e1787bf0b6dbac3a1601559d2f00ebc4b2df0f29

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: increase results per page

References: https://todo.sr.ht/~alanpearce/searchix/5
Alan Pearce alan@alanpearce.eu
Mon, 30 Dec 2024 19:09:33 +0100
commit

e1787bf0b6dbac3a1601559d2f00ebc4b2df0f29

parent

df5db969262db1382dcd9310d362efdf8f8b6949

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M internal/index/search.gointernal/index/search.go
@@ -16,7 +16,7 @@ "github.com/blevesearch/bleve/v2/search/query" 	"github.com/pkg/errors"
 )
 
-const ResultsPerPage = 20
+const ResultsPerPage = 100
 
 type DocumentMatch struct {
 	*search.DocumentMatch