typesense / typesense/typesense-js

There is no option of selecting `limit_multi_searches` in `multiSearch` using typescript.

Open
#162 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
569
Forks
99
Avg merge
5h 6m
Merged PRs (30d)
2

Description

Description

There is no option of selecting limit_multi_searches in multiSearch using typescript.

Steps to reproduce

typescript complains

Screenshot 2023-06-20 at 20 49 44

Expected Behavior

To already have option for limit_multi_searches in MultiSearchRequestSchema
We can see that it is missing.

Screenshot 2023-06-20 at 20 52 52

Actual Behavior

TS2345: Argument of type { collection: string; limit_multi_searches: number; }' is not assignable to parameter of type 'Partial<MultiSearchRequestSchema>.

Metadata

1.5.4

Mac OS

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the MultiSearchRequestSchema type definition in the TypeScript client and compare it with the multiSearch request options. Add the missing limit_multi_searches option with the appropriate type, then verify that the example request is accepted by TypeScript.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.