Hi all,

I'm not familiar with this part of the code (SpanxxQuery.rewrite), but I was following the discussions and a question I had in
mind from the begining:
Since these methods seem to be similar, or at least some part of the code, isn't it possible to use some refactorings, a base class (abstract if needed)
and to eliminate the duplicated code?

Probably an argument for doing this are Erik's words:

"I have corrected the issue, caused by a *copy/paste *error in SpanNotQuery.rewrite."

Best,

Sergiu


Erik Hatcher wrote:

Yonik,

Thanks for reporting this, and thanks to Otis for pointing me quickly to the issue. I too had run the tests, but my environment has some modified code so I chalked up the test issue to my local environment also. My apologies for not practicing what I preach in this case.

I have corrected the issue, caused by a copy/paste error in SpanNotQuery.rewrite.

    Erik


On Sep 20, 2005, at 5:57 PM, Yonik Seeley wrote:

I'm using Lucene 1.9 for the first time (migrating from Lucene 1.4.3) and
building from the latest version in SVN.
How long should "ant test" take? It seems to progress normally, then freezes after TestWildcard (have been waiting like 20 minutes). The CPU is still
spinning doing something...

java5, latest ant, cygwin, P4 2.8GHz, lucene1.9 synced today 4pm ET

[junit] Testsuite: org.apache.lucene.search.TestRangeQuery
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.521 sec

[junit] Testsuite: org.apache.lucene.search.TestRemoteSearchable
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.013 sec

[junit] Testsuite: org.apache.lucene.search.TestSetNorm
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.461 sec

[junit] Testsuite: org.apache.lucene.search.TestSimilarity
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.491 sec

[junit] Testsuite: org.apache.lucene.search.TestSort
[junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 3.295 sec

[junit] Testsuite: org.apache.lucene.search.TestTermVectors
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 5.308 sec

[junit] Testsuite: org.apache.lucene.search.TestWildcard
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.51 sec


-Yonik
Now hiring -- http://tinyurl.com/7m67g



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to