News for hackers. Stuff that matters.
Re:Changes to Code Search Indexing by glup on Thursday December 17, 2020 @01:59PM (#25458939)
This is idiotic. A ML codebase for a repo from 2017 -- like Word2Vec (https://github.com/tmikolov/word2vec) -- won't show up in search anymore?

Guess we can all write cron jobs that commit useless crap yearly.

Re:Changes to Code Search Indexing by neovintage on Thursday December 17, 2020 @02:11PM (#25459097)
I apologize the changelog wasn't more clear. For repos like that, they continue to show up in search results. Every time they do, that resets the clock on when the repo ages out of the index. We tried to strike a balance between performance and having _all_ the code in the index.
Re:Changes to Code Search Indexing by jasonpeacock on Thursday December 17, 2020 @02:24PM (#25459270)
But once they age out, then they're invisible as they won't show in the search results.

If showing in the search index is what resets the clock (in addition to making commits), how do you search for something that's not in the index?

Re:Changes to Code Search Indexing by jacobwg on Thursday December 17, 2020 @02:13PM (#25459127)
> Every time they do, that resets the clock on when the repo ages out of the index.

Sorry, what resets the clock?

Re:Changes to Code Search Indexing by NSCFType on Thursday December 17, 2020 @02:15PM (#25459150)
Commit activity or showing up in a search result.
Re:Changes to Code Search Indexing by gizmo385 on Thursday December 17, 2020 @02:12PM (#25459108)
If that repo has shown up in a search result, it will still be indexed