any update code search by date and 100 pages ? #121777
-
Select Topic AreaQuestion Bodyany update code search by date and 100 pages ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @cobavcova. We have no plans to implement search by date at this time because our code search backend de-duplicates file content and Git does not store the modification time at the tree or blob level. This makes the feature extremely difficult to implement correctly. As I've mentioned in the past, the old code search date filtering was based on when the file was indexed, and the index was rebuild infrequently. That made it a decent proxy for "last modified". The new system rebuilds the index frequently, so using the reindex time is not a useful way to sort. We are planning to increase the result limit (we already did for the API) but it has been lower priority than other work scaling the system. |
Beta Was this translation helpful? Give feedback.
-
The current code search feature is useless because other languages change a lot over time, but the search results cannot be sorted by time, so it only shows old results, making it not useful for reference. |
Beta Was this translation helpful? Give feedback.
Hi @cobavcova. We have no plans to implement search by date at this time because our code search backend de-duplicates file content and Git does not store the modification time at the tree or blob level. This makes the feature extremely difficult to implement correctly.
As I've mentioned in the past, the old code search date filtering was based on when the file was indexed, and the index was rebuild infrequently. That made it a decent proxy for "last modified". The new system rebuilds the index frequently, so using the reindex time is not a useful way to sort.
We are planning to increase the result limit (we already did for the API) but it has been lower priority than other work scaling t…