lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pvginkel <>
Subject [GitHub] lucenenet issue #205: Made FSDirectory stale files set synchronized.
Date Tue, 09 May 2017 10:42:01 GMT
Github user pvginkel commented on the issue:
    Sure, no problem:
        private void ReplaceStaleFiles(FSDirectory fsDirectory)
            // Work around for
            var field = typeof(FSDirectory).GetField("StaleFiles", BindingFlags.Instance |
            field.SetValue(fsDirectory, new ConcurrentHashSet<string>());

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message