google / codesearch

Fast, indexed regexp search over large file trees

Home Page:http://swtch.com/~rsc/regexp/regexp4.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incremental indexing

cloudspeech opened this issue · comments

It would be great if one could tell the indexer to (re-)index a single file and merge that efficiently into the existing index.

A strong plus would be to read the file names - 1 per line - from a (named or regular) pipe, and index those as soon as a new line becomes available.

commented

Good idea.

Yes, definitively a good idea.

The project is inactive a long time but there are a number of new other projects drawing from it (for instance, several plugins for IDEs like Atom and SublimeText).

The main benefit of using CodeSearch is increased speed of lookup for large code bases. The price you pay is upfront full indexing.

However the lack of incremental indexing makes CodeSearch suitable only for quasi-static code bases!