Skip to content

Partial search / Search issues by a partial word #70

@bartlomiej-dawidow

Description

@bartlomiej-dawidow

The suggested feature is to support an asterisk wildcard or a different form of partial search in the issues tab, for example:

is:issue is:open sustain*

which should match sustainable, sustainability etc.

GitHub provides a fairly elaborate search syntax, as explained here:
https://help.github.com/articles/understanding-the-search-syntax/
https://help.github.com/articles/searching-issues-and-pull-requests/

But it does not support partial searches, as discussed here:
https://stackoverflow.com/a/38532151

Quote from GitHub staff:

Thanks for getting in touch - search doesn't currently support partial searches, so in your example, you're correct you would have to search for "feature". Though not the same, we do however do some stemming for plurals - so searching for "features" would find "feature".

This is much more problematic in languages with grammatical cases than in English, such as German, Polish, French, Ukrainian, and many more. To give you an example the Polish word for function is funkcja but depending on the context it can be any of:

funkcja
funkcji
funkcją
funkcję

(and more)

Or plurals:

funkcje
funkcji
funkcjami
funkcje

Without partial searches, you have to go through all of the variations to find the matching issues. This makes the search functionality barely usable in languages other than English.

If we were able to search by funkc, we could find all relevant issues in one go. It is a common functionality in search engines. Optionally this could be done with a wildcard, i.e. funkc*.

(This feature request was originally posted here: https://github.community/t5/How-to-use-Git-and-GitHub/Feature-request-Partial-search-Search-issues-by-a-partial-word/m-p/15141)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions