Skip to content

Search API endpoint doesn't give results #3278

Open
@mromeroParkhill

Description

@mromeroParkhill

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions