Hi Folks,
I just finished resolving most of the problems with Lucene.Net 2.9.0. I
started the work a week ago and now I feel it can be published now.
My first intention was to share fixes as soon as I did it. But soon I
found that it is not quite easy. It is required to submit first patch
then patch over patch and so on. So I just kept moving. Sorry.
I put all the project on the web: http://lucene.qd.ru/lucene2.9.0fixed.zip
All Nunit test are passed (actually, some tests fail if run the whole
tests but does not fail if runned individulally. probably it is related
with Nunit itself),
except for:
1) Lucene.Net.Index.TestDeletionPolicy.TestKeepAllDeletionPolicy
commits.Count=15 but was expected 14
2) Lucene.Net.QueryParsers.TestQueryParser.TestCJK:
Shoud be yeasly fixed for Japanese people.
3)3 tests in Lucene.Net.Search.Function.TestCustomScoreQuery
-Lucene.Net.Search.Function.TestCustomScoreQuery.TestCustomScoreFloat:
-Lucene.Net.Search.Function.TestCustomScoreQuery.TestCustomScoreInt:
-Lucene.Net.Search.Function.TestCustomScoreQuery.TestCustomScoreShort:
Slight difference with the expected scores.
Some notes:
1) Added support for java NIO (I ported java ByteBuffer/CharBuffer) ->
new directory JavaSupport.
2) Added new classes in SupportClass.cs
I think it is time to put all support classes in files in separate
directory (ex. JavaSupport). What do you think about it?
3) I found that some public methods in DateTools that accept long time
argument, does not use it as milliseconds since January 1, 1970,
00:00:00 GMT (as it is stated in the documentation).
I think it is not good (it diverges form java lucene). So I fixed it.
===========
Andrei I.