You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per LUCENENET-610, the WeakDictionary that has been created to support FieldCache and a few other Lucene.NET features does not perform well enough in highly concurrent environments.
The ConditionalWeakTable is a suitable replacement on .NET Standard 2.1, but on .NET Standard 2.0, it doesn't expose the enumerator or the AddOrUpdate method. All of Lucene.NET's usages require one or the other.
So, it would definitely be worth the effort to port the full implementation to .NET Standard 2.0.
This port should be added to J2N in the J2N.Runtime.CompilerServices namespace (to match .NET's namespace convention).
As per LUCENENET-610, the WeakDictionary that has been created to support FieldCache and a few other Lucene.NET features does not perform well enough in highly concurrent environments.
The ConditionalWeakTable is a suitable replacement on .NET Standard 2.1, but on .NET Standard 2.0, it doesn't expose the enumerator or the AddOrUpdate method. All of Lucene.NET's usages require one or the other.
So, it would definitely be worth the effort to port the full implementation to .NET Standard 2.0.
This port should be added to J2N in the J2N.Runtime.CompilerServices namespace (to match .NET's namespace convention).
JIRA link - [LUCENENET-636] created by nightowl888The text was updated successfully, but these errors were encountered: