Repo search does not sort by alphabet properly? #137196
Replies: 4 comments
-
@ppi-rloving - thanks for asking this question. Would you mind specifying exactly where you're searching so I can play around with this and see what I can learn? |
Beta Was this translation helpful? Give feedback.
-
I’m not sure that you would be able to play around in a private group.
https://github.com/petpartners
…but here’s an example. Oddly, the place where Petpartners.Api.Pet shows in the search is not consistent (this probably because the preselected filter is “last updated”, but shouldn’t that be applied after the alphabetical search is applied?).
When I originally posted this question, Api.Pet turned up too far down the search to take a reasonably representative screenshot. Q comes after P, and C comes before. Maybe my expectation that the common root “PetPartners” would be ignored is the problem. Typing the full name “petpartners.api.pet” in the search is what I’m trying to avoid, but as can be seen in the 2nd screenshot, that seems to make things worse, and api.pet is not even presented in first page results.
![image](https://github.com/user-attachments/assets/6107b284-0a31-463b-a625-006b92f842e2)
Example using fully qualified name in search.
Filters:
type:private
language: c#
![image](https://github.com/user-attachments/assets/1986537c-1236-4bbb-a51c-a8d6264b4e86)
****
From: Lili ***@***.***>
Sent: Wednesday, September 4, 2024 9:39 AM
@ppi-rloving<https://github.com/ppi-rloving> - thanks for asking this question. Would you mind specifying exactly where you're searching so I can play around with this and see what I can learn?
—
|
Beta Was this translation helpful? Give feedback.
-
It appears I can't add screenshots directly to my reply, only links :-( I asked ai: Show drafts Yes, you're absolutely right. If you're searching for "d.e.b" in a list containing "d.e.a", "d.e.b", "d.e.c", and "d.e.d", "d.e.b" should be the only result that appears, and it should be the first one. This is because the search query is an exact match for the name "d.e.b". Any search algorithm that prioritizes exact matches should return "d.e.b" as the top result. If you're experiencing different results, it might be due to: Case sensitivity: Some search functions are case-sensitive. Ensure that your search query matches the case of the names in the list. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I would expect to be able to find PetPartners.API.Pet on the first page of results by typing in Api.Pet
But even if I type that out completely its listed way down the list (see screenshot).
Beta Was this translation helpful? Give feedback.
All reactions