This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git.
from b50b42e Updated README
new 01ddd63 Lucene.Net.Spatial.Util.ShapeFieldCacheProvider: Simplified
cache value creation by using ConditionalWeakTable<TKey, TValue>.GetValue(),
and removed dependency on WeakDictionary (See LUCENENET-610, LUCENENET-640).
new e73e44b Lucene.Net.TestFramework.Search.AssertingScorer: Reverted
back to using WeakReference for the value, since values are strongly referenced
in ConditionalWeakTable
new 6366760 Lucene.Net.Support.WeakDictionary: Removed unnecessary cast,
marked class internal
new b4e6f0f Lucene.Net.Search.FieldCacheImpl: Switched to
ConcurrentDictionary for the innerCache to try to reduce locking (LUCENENET-610)
new c867278 Lucene.Net.Facet.Taxonomy.CachedOrdinalsReader: Removed
locking for ordsCache when using ConditionalWeakTable (See LUCENENET-610,
LUCENENET-640, LUCENENET-630)
new bb873f4 Lucene.Net.Support: Renamed ConcurrentHashMapWrapper >
ConcurrentDictionaryWrapper, marked internal, and added
DictionaryExtensions.AsConcurrent() extension method to make usage simpler
new a3f18b4 Lucene.Net.Support: Added compatibility for nullable
attributes, which are not supported prior to .NET Standard 2.1
new f1c1629 Fix duplicate FragNum value on Highlight.TextFragment
new b0b2b23 Merge remote-tracking branch 'segovia/master'
The 9 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../Taxonomy/CachedOrdinalsReader.cs | 30 ++---
src/Lucene.Net.Facet/TopOrdAndFloatQueue.cs | 2 +-
src/Lucene.Net.Facet/TopOrdAndIntQueue.cs | 2 +-
.../Highlight/TextFragment.cs | 6 +-
.../Util/ShapeFieldCacheProvider.cs | 24 +---
.../Index/ThreadedIndexingAndSearchingTestCase.cs | 3 +-
.../Search/AssertingScorer.cs | 13 +-
src/Lucene.Net/Properties/AssemblyInfo.cs | 3 +-
src/Lucene.Net/Search/CachingWrapperFilter.cs | 3 +-
src/Lucene.Net/Search/FieldCacheImpl.cs | 112 +++++++++--------
.../Support/Compatibility/NullableAttributes.cs | 140 +++++++++++++++++++++
...apWrapper.cs => ConcurrentDictionaryWrapper.cs} | 36 +++---
src/Lucene.Net/Support/DictionaryExtensions.cs | 51 +++++---
src/Lucene.Net/Support/WeakDictionary.cs | 6 +-
14 files changed, 289 insertions(+), 142 deletions(-)
create mode 100644 src/Lucene.Net/Support/Compatibility/NullableAttributes.cs
rename src/Lucene.Net/Support/{ConcurrentHashMapWrapper.cs =>
ConcurrentDictionaryWrapper.cs} (83%)