oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.34k stars 745 forks source link

File retains references/indexes to deleted or moved files. #1298

Open ranjantomtom opened 7 years ago

ranjantomtom commented 7 years ago

Using OpenGrok, can you please confirm if it retains references/indexes forndeleted or moved files.

example, searching for MapData.hpp, the results contain //depot-navkit/dev-michi-curry/Engines/VisualisationInfo/Environment/NavKit/Implementation/MapData.hpp which has been deleted in perforce.

vladak commented 7 years ago

Deleted/moved files should be removed from index upon reindex.

ranjantomtom commented 7 years ago

We sync and index OpenGrog on daily basis through cronjob but still files not get updted.

vladak commented 7 years ago

Just to clarify - the files are deleted on disk, correct ?

ranjantomtom commented 7 years ago

Yes, files are modified on the other system we just sync it to opengrok.