1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-24 23:59:46 +02:00

update logic

This commit is contained in:
Taly 2022-08-26 15:08:36 +03:00
parent 03370dd066
commit 0cb69545db
5 changed files with 258 additions and 180 deletions

View file

@ -16,6 +16,7 @@ router.get('/search', async (req: Request, res: Response) => {
const startTime = performance.now();
const search = new Search();
const searchResponse = await search.query(searchString);
/** End measuring search time */
@ -30,8 +31,6 @@ router.get('/search', async (req: Request, res: Response) => {
_id: page._id,
title: page.title,
uri: page.uri,
// body: page.body,
// parent: page.parent,
section: page.section,
anchor: page.anchor,
shortBody: page.shortBody,