Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filename: qualifier does not work anymore. #24666

Closed
1 task done
Vyom-Yadav opened this issue Mar 25, 2023 · 5 comments
Closed
1 task done

filename: qualifier does not work anymore. #24666

Vyom-Yadav opened this issue Mar 25, 2023 · 5 comments
Labels
content This issue or pull request belongs to the Docs Content team search-github Related to GitHub search waiting for review Issue/PR is waiting for a writer's review

Comments

@Vyom-Yadav
Copy link

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/search-github/searching-on-github/searching-code#search-by-filename

What changes are you suggesting?

Modify the file https://github.com/github/docs/blob/main/content/search-github/searching-on-github/searching-code.md#search-by-filename and other files which have this content.

filename: searching no longer works.

Link of example from docs: https://github.com/search?utf8=%E2%9C%93&q=filename%3Alinguist&type=Code

Output:
Screenshot from 2023-03-25 09-25-02

Additional information

No response

@Vyom-Yadav Vyom-Yadav added the content This issue or pull request belongs to the Docs Content team label Mar 25, 2023
@welcome
Copy link

welcome bot commented Mar 25, 2023

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Mar 25, 2023
@Elenore23

This comment was marked as spam.

@cmwilson21
Copy link
Contributor

@Vyom-Yadav Thanks so much for opening an issue! I'll triage this for the team to take a look 👀

@cmwilson21 cmwilson21 added waiting for review Issue/PR is waiting for a writer's review search-github Related to GitHub search and removed triage Do not begin working on this issue until triaged by the team labels Mar 30, 2023
@roiros
Copy link

roiros commented May 3, 2023

The example for searching by file-size doesn't work as well.
https://docs.github.com/en/search-github/searching-on-github/searching-code#search-by-file-size

The search example link
gets

Possible unrecognized qualifier, searching for this term literally
function size:>10000 language:python

@subatoi
Copy link
Contributor

subatoi commented Jun 29, 2023

@Vyom-Yadav @roiros Please accept our apologies for the delay in getting back to you. I looked at the referenced issue and I think you may have already reached the correct conclusion, but just in case not:

The documentation you've linked to (everything under https://docs.github.com/en/search-github/searching-on-github/searching-code) is for a legacy implementation of code search. I think this may not have been the case when you first encountered this problem; the functionality you'd need is in any case described under https://docs.github.com/en/search-github/github-code-search/understanding-github-code-search-syntax#path-qualifier.

We'll see if we can do anything to improve the experience with the legacy documentation, but for now I'll close this issue. Please feel free to add another comment if there's anything outstanding you'd like to raise.

Thank you for your interest in helping to improve our docs! ✨

@subatoi subatoi closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team search-github Related to GitHub search waiting for review Issue/PR is waiting for a writer's review
Projects
None yet
Development

No branches or pull requests

5 participants