On Tue, Sep 29, 2009 at 03:10:01PM -0700, Andi Vajda wrote: > > With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0 release is > in the works. I just completed the first rev of this and checked it into > svn trunk. So far, I've only tested it on Mac OS X 10.6 with 64-bit > Python. > > All unit tests pass as run with 'make test'. > > If you're on a different platform and have some spare cycles, I'd be > curious to see if all unit tests pass on your platform.
I just built on Ubuntu Intrepid x86_64, python 2.5.2, OpenJDK 1.6 and the tests seem to pass OK (r820117 of pylucene). I'm attaching the relevant output, so you can confirm no tests were skipped. Thanks, Aaron Lav (a...@pobox.com)
warning: manifest_maker: standard file '__init__.py' not found /usr/bin/python test/test_ThaiAnalyzer.py . ---------------------------------------------------------------------- Ran 1 test in 0.123s OK /usr/bin/python test/test_BooleanQuery.py . ---------------------------------------------------------------------- Ran 1 test in 0.004s OK /usr/bin/python test/test_Binary.py . ---------------------------------------------------------------------- Ran 1 test in 0.003s OK /usr/bin/python test/test_PyLucene.py .................. ---------------------------------------------------------------------- Ran 18 tests in 0.747s OK /usr/bin/python test/test_RangeFilter.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.575s OK /usr/bin/python test/test_bug1564.py . ---------------------------------------------------------------------- Ran 1 test in 0.134s OK /usr/bin/python test/test_Analyzers.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.013s OK /usr/bin/python test/test_DocBoost.py . ---------------------------------------------------------------------- Ran 1 test in 0.123s OK /usr/bin/python test/test_bug1842.py . ---------------------------------------------------------------------- Ran 1 test in 0.133s OK /usr/bin/python test/test_RegexQuery.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.153s OK /usr/bin/python test/test_Compress.py . ---------------------------------------------------------------------- Ran 1 test in 0.115s OK /usr/bin/python test/test_BooleanPrefixQuery.py . ---------------------------------------------------------------------- Ran 1 test in 0.161s OK /usr/bin/python test/test_PrefixFilter.py . ---------------------------------------------------------------------- Ran 1 test in 0.179s OK /usr/bin/python test/test_StopAnalyzer.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.006s OK /usr/bin/python test/test_PhraseQuery.py ........ ---------------------------------------------------------------------- Ran 8 tests in 0.183s OK /usr/bin/python test/test_RuntimeException.py Exception in thread "main" java.lang.RuntimeException: time '-2206288800000' is too early, must be >= 0 at org.apache.lucene.document.DateField.timeToString(DateField.java:95) at org.apache.lucene.document.DateField.dateToString(DateField.java:86) . ---------------------------------------------------------------------- Ran 1 test in 0.005s OK /usr/bin/python test/test_Similarity.py . ---------------------------------------------------------------------- Ran 1 test in 0.186s OK /usr/bin/python test/test_Not.py . ---------------------------------------------------------------------- Ran 1 test in 0.135s OK /usr/bin/python test/test_Highlighter.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.158s OK /usr/bin/python test/test_Sort.py ........................ ---------------------------------------------------------------------- Ran 24 tests in 4.265s OK /usr/bin/python test/test_PositionIncrement.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.167s OK /usr/bin/python test/test_FuzzyQuery.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.142s OK /usr/bin/python test/test_RangeQuery.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.151s OK /usr/bin/python test/test_PrefixQuery.py . ---------------------------------------------------------------------- Ran 1 test in 0.170s OK /usr/bin/python test/test_FilteredQuery.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.136s OK /usr/bin/python test/test_CachingWrapperFilter.py . ---------------------------------------------------------------------- Ran 1 test in 0.055s OK /usr/bin/python test/test_bug1763.py . ---------------------------------------------------------------------- Ran 1 test in 0.147s OK /usr/bin/python test/test_PyLuceneThread.py .. ---------------------------------------------------------------------- Ran 2 tests in 2.116s OK /usr/bin/python test/test_PerFieldAnalyzerWrapper.py . ---------------------------------------------------------------------- Ran 1 test in 0.006s OK /usr/bin/python test/test_PythonDirectory.py .......... ---------------------------------------------------------------------- Ran 10 tests in 6.339s OK /usr/bin/python test/test_PythonQueryParser.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.030s OK /usr/bin/python test/test_RewriteQuery.py . ---------------------------------------------------------------------- Ran 1 test in 0.107s OK /usr/bin/python test/test_StopWords.py . ---------------------------------------------------------------------- Ran 1 test in 0.008s OK /usr/bin/python test/test_BooleanOr.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.153s OK /usr/bin/python samples/LuceneInAction/AdvancedQueryParserTest.py .... ---------------------------------------------------------------------- Ran 4 tests in 0.574s OK /usr/bin/python samples/LuceneInAction/AnalysisParalysisTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.032s OK /usr/bin/python samples/LuceneInAction/BasicSearchingTest.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.129s OK /usr/bin/python samples/LuceneInAction/BooleanQueryTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.080s OK /usr/bin/python samples/LuceneInAction/CategorizerTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.055s OK /usr/bin/python samples/LuceneInAction/ChineseTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.063s OK /usr/bin/python samples/LuceneInAction/CompoundVersusMultiFileIndexTest.py . ---------------------------------------------------------------------- Ran 1 test in 1.675s OK /usr/bin/python samples/LuceneInAction/DistanceSortingTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.121s OK /usr/bin/python samples/LuceneInAction/DocumentDeleteTest.py ...... ---------------------------------------------------------------------- Ran 6 tests in 0.230s OK /usr/bin/python samples/LuceneInAction/DocumentUpdateTest.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.223s OK /usr/bin/python samples/LuceneInAction/FieldLengthTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.138s OK /usr/bin/python samples/LuceneInAction/FilterTest.py /usr/bin/python samples/LuceneInAction/FS2RAMDirectoryTest.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.214s OK /usr/bin/python samples/LuceneInAction/FSversusRAMDirectoryTest.py . ---------------------------------------------------------------------- Ran 1 test in 1.132s OK /usr/bin/python samples/LuceneInAction/HighlightTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.079s OK /usr/bin/python samples/LuceneInAction/HitCollectorTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.068s OK /usr/bin/python samples/LuceneInAction/KeywordAnalyzerTest.py .... ---------------------------------------------------------------------- Ran 4 tests in 0.185s OK /usr/bin/python samples/LuceneInAction/LockTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.078s OK /usr/bin/python samples/LuceneInAction/MultiFieldQueryParserTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.088s OK /usr/bin/python samples/LuceneInAction/MultiSearcherTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.136s OK /usr/bin/python samples/LuceneInAction/PhrasePrefixQueryTest.py /usr/bin/python samples/LuceneInAction/PhraseQueryTest.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.122s OK /usr/bin/python samples/LuceneInAction/PositionalPorterStopAnalyzerTest.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.130s OK /usr/bin/python samples/LuceneInAction/PrefixQueryTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.113s OK /usr/bin/python samples/LuceneInAction/QueryParserTest.py ........... ---------------------------------------------------------------------- Ran 11 tests in 0.154s OK /usr/bin/python samples/LuceneInAction/RangeQueryTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.061s OK /usr/bin/python samples/LuceneInAction/ScoreTest.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.159s OK /usr/bin/python samples/LuceneInAction/SecurityFilterTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.144s OK /usr/bin/python samples/LuceneInAction/SnowballTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.019s OK /usr/bin/python samples/LuceneInAction/SpanQueryTest.py ...... ---------------------------------------------------------------------- Ran 6 tests in 0.187s OK /usr/bin/python samples/LuceneInAction/SpecialsFilterTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.136s OK /usr/bin/python samples/LuceneInAction/StopAnalyzerAlternativeTest.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK /usr/bin/python samples/LuceneInAction/StopAnalyzerTest.py . ---------------------------------------------------------------------- Ran 1 test in 0.006s OK /usr/bin/python samples/LuceneInAction/SynonymAnalyzerTest.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.127s OK