/// <summary> /// Reloads the codec list from the given <seealso cref="ClassLoader"/>. /// Changes to the codecs are visible after the method ends, all /// iterators (<seealso cref="#availableCodecs()"/>,...) stay consistent. /// /// <p><b>NOTE:</b> Only new codecs are added, existing ones are /// never removed or replaced. /// /// <p><em>this method is expensive and should only be called for discovery /// of new codecs on the given classpath/classloader!</em> /// </summary> public static void ReloadCodecs() { Loader.Reload(); }
/// <summary> /// Reloads the DocValues format list from the given <seealso cref="ClassLoader"/>. /// Changes to the docvalues formats are visible after the method ends, all /// iterators (<seealso cref="#availableDocValuesFormats()"/>,...) stay consistent. /// /// <p><b>NOTE:</b> Only new docvalues formats are added, existing ones are /// never removed or replaced. /// /// <p><em>this method is expensive and should only be called for discovery /// of new docvalues formats on the given classpath/classloader!</em> /// </summary> public static void ReloadDocValuesFormats() { Loader.Reload(); }
/// <summary> /// Reloads the postings format list from the given <seealso cref="ClassLoader"/>. /// Changes to the postings formats are visible after the method ends, all /// iterators (<seealso cref="#availablePostingsFormats()"/>,...) stay consistent. /// /// <p><b>NOTE:</b> Only new postings formats are added, existing ones are /// never removed or replaced. /// /// <p><em>this method is expensive and should only be called for discovery /// of new postings formats on the given classpath/classloader!</em> /// </summary> public static void ReloadPostingsFormats() { Loader.Reload(); }