-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change remote history tunable semantics to fuzzy logic #748
Comments
This should help a lot for setups when generating history for CVS repos such as NetBSD/OpenBSD, especially from behind a proxy. Often it happens that most of the projects are indexed and then the indexer goes linearly through files in *BSD repo and the whole indexing has to wait for it. |
the entry for this in
However, for JDBC this would probably fail because it is not able to store the history of the files as
and this is used in
The This means another cache (file-based) would have to be used for storing the history in the history index phase and then having a fall-back in the xref phase. |
The way how to avoid expensive index generation (at the expense of losing ability to search history for given repo) would be to add fuzzy logic to the |
When thinking about #747 it occurred to me that the linear history generation for repositories such as CVS could be sped up. Currently, the main history index for such repositories is NOP because the repos do not support generating history for directories. The history generation is done in the Lucene index phase per each file via
addFile()
(as described in #747) in linear fashion - file after file.This could be changed so that the history for each file in the repo will be generated in the history index phase in parallel (so it will convert it from NOP to proper history index) and then in the Lucene index phase the queries done in
populateDocument()
will read the history for given file from cache (be it file-based or JDBC).The text was updated successfully, but these errors were encountered: