Skip to content

Bring back sort:indexed for code searches #52932

Discussion options

You must be logged in to vote

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.

Replies: 127 comments 67 replies

Comment options

You must be logged in to vote
3 replies
@deenrookie
Comment options

@Milan-960
Comment options

@Aidils60
Comment options

Comment options

You must be logged in to vote
6 replies
@hifiveszu
Comment options

@carcabot
Comment options

@nashbuddhav
Comment options

@mitz88
Comment options

@DeathKnight813
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alexanderbkl
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ohnoyoudidnt
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@omi099
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub Product Feedback