In case you have a large number of files (e.g. .pst archives) or folders to index, it would be nice to be able to script initial indexing in the same way you are now able to script the update.
Thanks for this very useful piece of software anyway :-)
D'oh, just found this after posting a query in General Discussion, I agree this would be a very useful feature for rolling the product out to many users where the requirement is to have local indexes built.
John
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@John I too have the need to create many different indexes, each with many files and even more excluded files.
DocFetcherPro has support for this.
Alternatively, if you can build the source, then you can change the field: private static final List<PatternAction> defaultPatternActions
to change the default list of pattern actions. Then the work of configuring each index is minimal.
For example:
private static final List<PatternAction> defaultPatternActions = Arrays.asList(new PatternAction[] {
new PatternAction(".*/\\.git/.*", PatternAction.MatchTarget.PATH, PatternAction.MatchAction.EXCLUDE),
new PatternAction(".*/\\.sync/.*", PatternAction.MatchTarget.PATH, PatternAction.MatchAction.EXCLUDE),
new PatternAction(".*/\\.svn/.*", PatternAction.MatchTarget.PATH, PatternAction.MatchAction.EXCLUDE),
new PatternAction(".*/\\.vs/.*", PatternAction.MatchTarget.PATH, PatternAction.MatchAction.EXCLUDE),
new PatternAction(".*/\\.idea/.*", PatternAction.MatchTarget.PATH, PatternAction.MatchAction.EXCLUDE),
new PatternAction(".*/__MACOSX/.*", PatternAction.MatchTarget.PATH, PatternAction.MatchAction.EXCLUDE),
new PatternAction(".*\\.class", PatternAction.MatchTarget.FILENAME, PatternAction.MatchAction.EXCLUDE),
new PatternAction(".*\\.pyc", PatternAction.MatchTarget.FILENAME, PatternAction.MatchAction.EXCLUDE),
...
});
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I agree that this would be useful. Make take some time though as DocFetcher is currently inactive.
Best regards
q:-) <= Quang
D'oh, just found this after posting a query in General Discussion, I agree this would be a very useful feature for rolling the product out to many users where the requirement is to have local indexes built.
John
@ John: Due to lack of time, there won't be much more than bugfixes for DocFetcher in the foreseeable future.
@John I too have the need to create many different indexes, each with many files and even more excluded files.
DocFetcherPro has support for this.
Alternatively, if you can build the source, then you can change the field:
private static final List<PatternAction> defaultPatternActionsto change the default list of pattern actions. Then the work of configuring each index is minimal.
For example: