gitbook icon indicating copy to clipboard operation
gitbook copied to clipboard

Search API endpoint doesn't give results

Open mromeroParkhill opened this issue 6 months ago • 1 comments

Bug description

The following endpoint seems to not always give results:

GET https://api.gitbook.com/v1/spaces/{spaceId}/search?query={question}

As an example, if the question is "custom hatch patterns", there are no results in the response. But, if the question is "hatch patterns", we get the expected results. The "no results" behavior seems to happen every time there is at least one word that doesn't match the possible results. This is not ideal in cases a user may add an extra word in there for context. Would it be possible to make this search engine for this endpoint not so sensitive?

Thank you

mromeroParkhill avatar Jun 04 '25 01:06 mromeroParkhill

Hi @mromeroParkhill, thanks for opening this! We've logged this internally and will triage this in an upcoming cycle.

Please feel free to leave us any additional context that may be helpful.

talagluck avatar Jun 24 '25 11:06 talagluck