From 9fe348a91390ca6b015f44c9503fe1838a7bb80f Mon Sep 17 00:00:00 2001 From: David Allison <62114487+david-allison@users.noreply.github.com> Date: Sat, 13 Jul 2024 20:15:01 +0100 Subject: [PATCH] increase maximum query length (#231) When I was searching for matches, this got in the way --- CorpusSearch/Model/CorpusSearchQuery.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CorpusSearch/Model/CorpusSearchQuery.cs b/CorpusSearch/Model/CorpusSearchQuery.cs index 5eb489d..fa3d2c8 100644 --- a/CorpusSearch/Model/CorpusSearchQuery.cs +++ b/CorpusSearch/Model/CorpusSearchQuery.cs @@ -14,7 +14,7 @@ public class CorpusSearchQuery(string query) internal bool IsValid() { - if (string.IsNullOrWhiteSpace(Query) || Query.Length > 30) + if (string.IsNullOrWhiteSpace(Query) || Query.Length > 100) { return false; }