Skip to content

Commit ae96bd5

Browse files
nits
1 parent 9f87212 commit ae96bd5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/web/src/app/[domain]/search/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const PanelGroup = ({
289289
<InfoCircledIcon className="w-4 h-4 mr-2" />
290290
{
291291
fileMatches.length > 0 ? (
292-
<p className="text-sm font-medium">{`[${searchDurationMs} ms] Displaying ${numMatches} matches in ${fileMatches.length} ${fileMatches.length > 1 ? 'files' : 'file'}`}</p>
292+
<p className="text-sm font-medium">{`[${searchDurationMs} ms] Found ${numMatches} matches in ${fileMatches.length} ${fileMatches.length > 1 ? 'files' : 'file'}`}</p>
293293
) : (
294294
<p className="text-sm font-medium">No results</p>
295295
)

packages/web/src/features/search/searchApi.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ export const search = async ({ query, matches, contextLines, whole }: SearchRequ
118118
Whole: !!whole,
119119
TotalMaxMatchCount: env.TOTAL_MAX_MATCH_COUNT,
120120
ShardMaxMatchCount: env.SHARD_MAX_MATCH_COUNT,
121-
// MaxDocDisplayCount: 100,
122-
// MaxWallTime: env.ZOEKT_MAX_WALL_TIME_MS * 1000 * 1000, // zoekt expects a duration in nanoseconds
121+
MaxWallTime: env.ZOEKT_MAX_WALL_TIME_MS * 1000 * 1000, // zoekt expects a duration in nanoseconds
123122
}
124123
});
125124

0 commit comments

Comments
 (0)