internal/frontend/search: increase max search offset to 100

Fixes golang/go#48481

Change-Id: I7141fd0a03cfcfe8cf96d44e9010297c81e188fc
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/350992
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
diff --git a/internal/frontend/search.go b/internal/frontend/search.go
index 081a6f3..2cf6e20 100644
--- a/internal/frontend/search.go
+++ b/internal/frontend/search.go
@@ -129,7 +129,7 @@
 
 	// maxSearchOffset is the maximum allowed offset into the search results.
 	// This prevents some very CPU-intensive queries from running.
-	maxSearchOffset = 90
+	maxSearchOffset = 100
 
 	// maxSearchPageSize is the maximum allowed limit for search results.
 	maxSearchPageSize = 100
diff --git a/tests/e2e/__snapshots__/ci/search.desktop.test.ts.snap b/tests/e2e/__snapshots__/ci/search.desktop.test.ts.snap
index 5c5a30c..fe4902f 100644
--- a/tests/e2e/__snapshots__/ci/search.desktop.test.ts.snap
+++ b/tests/e2e/__snapshots__/ci/search.desktop.test.ts.snap
@@ -58,7 +58,7 @@
       "role": "link",
     },
     Object {
-      "name": "1 – 25 of 115 results",
+      "name": "1 – 25 of 117 results",
       "role": "StaticText",
     },
     Object {
diff --git a/tests/e2e/__snapshots__/ci/search.mobile.test.ts.snap b/tests/e2e/__snapshots__/ci/search.mobile.test.ts.snap
index d7afdc4..1c586ba 100644
--- a/tests/e2e/__snapshots__/ci/search.mobile.test.ts.snap
+++ b/tests/e2e/__snapshots__/ci/search.mobile.test.ts.snap
@@ -45,7 +45,7 @@
       "role": "link",
     },
     Object {
-      "name": "1 – 25 of 115 results",
+      "name": "1 – 25 of 117 results",
       "role": "StaticText",
     },
     Object {