Bring back sort:indexed
for code searches
#52932
-
Select Topic AreaProduct Feedback BodyOn March 10th you informed public that you'll deprecate the I think this was done quite quickly - only 30 days after the deprecation notice. Are there any plans to bring this feature back/to the new search API? I think this is a very commonly used feature, which helps users to see most recent code changes containing some search term in a repo. |
Beta Was this translation helpful? Give feedback.
Replies: 127 comments 67 replies
-
This is one of the worst decisions github made... I am using this feature extensively. If they drop it, code search is just garbage search. |
Beta Was this translation helpful? Give feedback.
-
Yes, please bring this back. It makes it a total hassle to search for only recently updated repositories meaning both the client and server side are having to do excessive amounts of work and data transfer when the client code doesn't even want that. Example: 10000 results, one only cares about the last 100 recently updated. With prior model this was easy. With current it forces the client to fetch the entire result set and then post-filter. Total regression. |
Beta Was this translation helpful? Give feedback.
-
please enable old search . |
Beta Was this translation helpful? Give feedback.
-
Please allow us to revert to the old search in the meantime +1 |
Beta Was this translation helpful? Give feedback.
-
Please turn on the old search feature again |
Beta Was this translation helpful? Give feedback.
-
Please make a way for us to use old functionality of search. As my works is immensely effected by that. It's an humble request 🙏 |
Beta Was this translation helpful? Give feedback.
-
+1, you cant do anything without searching... |
Beta Was this translation helpful? Give feedback.
-
Please give us the option to use the old version, this is disturbing a lot, the user can have the option of which of the two models to use. |
Beta Was this translation helpful? Give feedback.
-
Yes, made CS almost unusable 😢 |
Beta Was this translation helpful? Give feedback.
-
A year has passed, GitHub remains castrated without this feature, what a disgrace! |
Beta Was this translation helpful? Give feedback.
-
At least make it filterable by date |
Beta Was this translation helpful? Give feedback.
-
Not that they removed a useful feature - the new version outputs no data... besides that... I dont want to see 10 year old code as example for anything. this sucks massively... but I dont think we will see this feature again, Microsoft doesnt care. |
Beta Was this translation helpful? Give feedback.
-
Besides not being able to sort by recency, now if you want to see when the file has been updated, you have to hover the filename. |
Beta Was this translation helpful? Give feedback.
-
Bumping this again. I would be forever grateful if they added this feature back. |
Beta Was this translation helpful? Give feedback.
-
Please bring the old search back. Why force everybody to use something that doesn't work and it is a UI disaster :( |
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Any update? |
Beta Was this translation helpful? Give feedback.
-
any update? |
Beta Was this translation helpful? Give feedback.
-
any update? |
Beta Was this translation helpful? Give feedback.
-
Give it up! This discussion can be closed now. |
Beta Was this translation helpful? Give feedback.
-
Why haven't I gotten the new feature preview? Is it only certain people on GitHub who get it? , this is an example of an image that has just been updated on GitHub |
Beta Was this translation helpful? Give feedback.
-
It is almost as if people who do NOT program and making these decisions. 🤦♂️ https://images.app.goo.gl/ZBprA5JiMh8Pofd3A |
Beta Was this translation helpful? Give feedback.
-
any update? |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
still dont update ? |
Beta Was this translation helpful? Give feedback.
-
Thanks Github |
Beta Was this translation helpful? Give feedback.
-
Any updates when this will be fixed? |
Beta Was this translation helpful? Give feedback.
-
Any update? |
Beta Was this translation helpful? Give feedback.
Thanks for this context @benjsilverstein. It sounds like you have a lot of duplicated code and therefore finding the most recent examples is very useful to you. It's really helpful to hear examples like this to prioritize work on sorting.
We have definitely heard loud and clear that people want to be able to sort by recency. As I've mentioned in previous responses, the way it was implemented previously does not work for our new code search, because we rebuild the index frequently and the initial build would give everything the same date. We would like to implement this using the time the file was committed, but that is not easy to access in Git due to how data is stored in a repository.