You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"for t in tagview search analyzer(t._key in tokens(@name,'tag_name'), 'tag_name') let s = BM25(t) sort s desc limit @off,@cnt return {name: t._key, count: t.count}",
40
41
{
41
42
name: name,
@@ -64,8 +65,12 @@ router
64
65
httpVerb: "POST",
65
66
routePath: basePath+"/search",
66
67
status: "Success",
67
-
description: "Search for tags by name",
68
-
extra: result,
68
+
description: `Search for tags by name(${req.queryParams?.name?.trim()})`,
69
+
extra:
70
+
{
71
+
requestedName: name,
72
+
returnedCount: result.length-1,// subtract the paging object
73
+
}
69
74
});
70
75
}catch(e){
71
76
logger.logRequestFailure({
@@ -74,8 +79,12 @@ router
74
79
httpVerb: "POST",
75
80
routePath: basePath+"/search",
76
81
status: "Failure",
77
-
description: "Search for tags by name",
78
-
extra: result,
82
+
description: `Search for tags by name(${req.queryParams?.name?.trim()})`,
83
+
extra:
84
+
{
85
+
requestedName: name,
86
+
returnedCount: result.length-1,// subtract the paging object
0 commit comments