Skip to content

Commit

Permalink
Do not restrict tool search to tool ID
Browse files Browse the repository at this point in the history
This will produce less accurate results but order of magnitude faster. There is probably something that needs to be tweaked in the whoosh search in the toolshed for this to work with IDs only.
  • Loading branch information
davelopez committed Jul 20, 2024
1 parent f7d3531 commit 969ffc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/packages/server-common/src/services/toolShed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class ToolshedServiceImpl implements ToolshedService {
const toolshedUrl = await this.validateToolshedUrl();
const toolsApiUrl = `${toolshedUrl}/api/tools`;
const queryParams = new URLSearchParams({
q: `id:${toolId}`,
q: toolId,
page_size: limit.toString(),
});

Expand Down

0 comments on commit 969ffc4

Please sign in to comment.