Skip to content

Clarify information on excluding results from searches #23461

Closed
@felicitymay

Description

@felicitymay

This issue is reserved for MLH Fellows

Code of Conduct

What article on docs.github.com is affected?

Understanding the search syntax

What part(s) of the article would you like to see updated?

The existing section on "Exclude certain results" is misleading because it starts with the NOT syntax first and this can be used only for string keywords. Information about how to negate qualifiers is easy to miss within this section (see #22902).

Recommended changes

  1. Create a new section called "Exclude results that match a qualifier" and move the information about using - into this section. The content will need a small amount of rewording for the new location. I can also see that the formatting of the table needs to be adjusted.
  2. Rename the existing section to "Exclude results with specific keywords"

Additional information

This is a follow up to #22902.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MLH fellowshipThis issue is reserved for the MLH Fellowship programcontentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions