【问题标题】:Major differences between Lucene.Net 2.9 and 3.0Lucene.Net 2.9 和 3.0 之间的主要区别
【发布时间】:2012-11-13 19:36:06
【问题描述】:

我一直在四处寻找 Lucene.Net 3.0 的发行说明,但到目前为止都没有成功。目前我们使用的是 Lucene.Net 2.9,但它会占用大量内存,所以我想看看 Lucene.Net 3.0 是否改进了内存管理。

至于我的问题,3.0的主要变化是什么?内存管理改进了吗?

【问题讨论】:

    标签: lucene.net


    【解决方案1】:

    查看源代码分发中的CHANGES.TXT

    =================== Release 3.0.3 2012-10-05 =====================
    
    Bug
    •[LUCENENET-54] - ArgumentOutOfRangeException caused by SF.Snowball.Ext.DanishStemmer
    •[LUCENENET-420] - String.StartsWith has culture in it.
    •[LUCENENET-423] - QueryParser differences between Java and .NET when parsing range queries involving dates
    •[LUCENENET-445] - Lucene.Net.Index.TestIndexWriter.TestFutureCommit() Fails
    •[LUCENENET-464] - The Lucene.Net.FastVectorHighligher.dll of the latest release 2.9.4 breaks any ASP.NET application
    •[LUCENENET-472] - Operator == on Parameter does not check for null arguments
    •[LUCENENET-473] - Fix linefeeds in more than 600 files
    •[LUCENENET-474] - Missing License Headers in trunk after 3.0.3 merge
    •[LUCENENET-475] - DanishStemmer doesn't work.
    •[LUCENENET-476] - ScoreDocs in TopDocs is ambiguos when using Visual Basic .Net
    •[LUCENENET-477] - NullReferenceException in ThreadLocal when Lucene.Net compiled for .Net 2.0
    •[LUCENENET-478] - Parts of QueryParser are outdated or weren't previously ported correctly
    •[LUCENENET-479] - QueryParser.SetEnablePositionIncrements(false) doesn't work
    •[LUCENENET-483] - Spatial Search skipping records when one location is close to origin, another one is away and radius is wider
    •[LUCENENET-484] - Some possibly major tests intermittently fail 
    •[LUCENENET-485] - IndexOutOfRangeException in FrenchStemmer
    •[LUCENENET-490] - QueryParser is culture-sensitive
    •[LUCENENET-493] - Make lucene.net culture insensitive (like the java version)
    •[LUCENENET-494] - Port error in FieldCacheRangeFilter
    •[LUCENENET-495] - Use of DateTime.Now causes huge amount of System.Globalization.DaylightTime object allocations
    •[LUCENENET-500] - Lucene fails to run in medium trust ASP.NET Application
    
    Improvement
    •[LUCENENET-179] - SnowballFilter speed improvment
    •[LUCENENET-407] - Signing the assembly
    •[LUCENENET-408] - Mark assembly as CLS compliant; make AlreadyClosedException serializable
    •[LUCENENET-466] - optimisation for the GermanStemmer.vb‏
    •[LUCENENET-504] - FastVectorHighlighter - support for prefix query
    •[LUCENENET-506] - FastVectorHighlighter should use Query.ExtractTerms as fallback
    
    New Feature
    •[LUCENENET-463] - Would like to be able to use a SimpleSpanFragmenter for extrcting whole sentances 
    •[LUCENENET-481] - Port Contrib.MemoryIndex
    
    Task
    •[LUCENENET-446] - Make Lucene.Net CLS Compliant
    •[LUCENENET-471] - Remove Package.html and Overview.html artifacts
    •[LUCENENET-480] - Investigate what needs to happen to make both .NET 3.5 and 4.0 builds possible
    •[LUCENENET-487] - Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0
    •[LUCENENET-503] - Update binary names
    
    Sub-task
    •[LUCENENET-468] - Implement the Dispose pattern properly in classes with Close
    •[LUCENENET-470] - Change Getxxx() and Setxxx() methods to .NET Properties
    

    【讨论】:

    • 我在下载新的 dll 后也发现了这一点。以我的经验,索引重建时间更稳定,但不值得努力升级。我没有注意到内存方面有太大的改进,但希望 Lucene.Net 能在不久的将来达到 v4.0。
    猜你喜欢
    • 1970-01-01
    • 2013-02-26
    • 1970-01-01
    • 1970-01-01
    • 2023-03-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多