lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eladmarg <>
Subject [GitHub] lucenenet issue #188: Fixed 64 Failing Facet Tests and Finished Facet Implem...
Date Thu, 29 Sep 2016 18:08:30 GMT
Github user eladmarg commented on the issue:
    just found a great implementation which does exactly what is expected (truly same as java)
    please take a look at : [CSharpTest.Net.Collections](,
there is a [nuget]( package as
    at the constructor use:
    `new LurchTable<TKey, TValue>(LurchTableOrder.Access, capacity, EqualityComparer<TKey>.Default)
    the lucene get method expect for default(TValue) or null, but the LurchTable throw exception,
    so just wrap the get method with:
    ` TValue result;
    if (!lru.TryGetValue(key, out result))
    return default(TValue);
    return result;
    all tests working, (include the LruHashMap), performance much faster.

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