> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Andi Vajda
> Sent: Wednesday, March 28, 2007 10:30 PM
> 
> On Wed, 28 Mar 2007, Ofer Nave wrote:
> > ran make, followed by make install.  That worked, too.
> 
> Did you run 'make test' on your PyLucene build ?

Yes - included below.  Quite a few failures, actually.

> It should work with Python 2.4 just as well.

I just had a crazy idea... what if we had a wiki where we could collect and 
organize this kind of information? :)

Make test output:

---
[EMAIL PROTECTED] ~/tmp/PyLucene-src-2.1.0-1]$ make test
cd samples/LuceneInAction; /home/ofer/tmp/bin/python index.py
A Modern Art of Education
Rudolf Steiner
education philosophy psychology practice Waldorf
/education/pedagogy
---------
Tao Te Ching 道德經
Stephen Mitchell
taoism
/philosophy/eastern
---------
Imperial Secrets of Health and Longevity
Bob Flaws
diet chinese medicine qi gong health herbs
/health/alternative/chinese
---------
Gödel, Escher, Bach: an Eternal Golden Braid
Douglas Hofstadter
artificial intelligence number theory mathematics music
/technology/computers/ai
---------
Lucene in Action
Otis Gospodnetic,Erik Hatcher
lucene search
/technology/computers/programming
---------
Tapestry in Action
Howard Lewis-Ship
tapestry web user interface components
/technology/computers/programming
---------
Java Development with Ant
Erik Hatcher,Steve Loughran
apache jakarta ant build tool junit java development
/technology/computers/programming
---------
The Pragmatic Programmer
Dave Thomas,Andy Hunt
pragmatic agile methodology developer tools
/technology/computers/programming
---------
JUnit in Action
Vincent Massol,Ted Husted
junit unit testing mock objects
/technology/computers/programming
---------
Extreme Programming Explained
Kent Beck
extreme programming agile test driven development methodology
/technology/computers/programming/methodology
---------
Mindstorms
Seymour Papert
children computers powerful ideas LOGO education
/technology/computers/programming/education
---------
indexes/
indexes/distributed/
indexes/distributed/a/
indexes/distributed/a/_2ht.cfs
indexes/distributed/a/deletable
indexes/distributed/a/segments
indexes/distributed/b/
indexes/distributed/b/_1yx.cfs
indexes/distributed/b/deletable
indexes/distributed/b/segments
indexes/distributed/c/
indexes/distributed/c/_3co.cfs
indexes/distributed/c/deletable
indexes/distributed/c/segments
indexes/distributed/d/
indexes/distributed/d/_22q.cfs
indexes/distributed/d/deletable
indexes/distributed/d/segments
indexes/distributed/e/
indexes/distributed/e/_1er.cfs
indexes/distributed/e/deletable
indexes/distributed/e/segments
indexes/distributed/f/
indexes/distributed/f/_1ev.cfs
indexes/distributed/f/deletable
indexes/distributed/f/segments
indexes/distributed/g/
indexes/distributed/g/_120.cfs
indexes/distributed/g/deletable
indexes/distributed/g/segments
indexes/distributed/h/
indexes/distributed/h/_18n.cfs
indexes/distributed/h/deletable
indexes/distributed/h/segments
indexes/distributed/i/
indexes/distributed/i/_1hb.cfs
indexes/distributed/i/deletable
indexes/distributed/i/segments
indexes/distributed/j/
indexes/distributed/j/_b8.cfs
indexes/distributed/j/deletable
indexes/distributed/j/segments
indexes/distributed/k/
indexes/distributed/k/_bo.cfs
indexes/distributed/k/deletable
indexes/distributed/k/segments
indexes/distributed/l/
indexes/distributed/l/_12u.cfs
indexes/distributed/l/deletable
indexes/distributed/l/segments
indexes/distributed/m/
indexes/distributed/m/_1r3.cfs
indexes/distributed/m/deletable
indexes/distributed/m/segments
indexes/distributed/n/
indexes/distributed/n/_sh.cfs
indexes/distributed/n/deletable
indexes/distributed/n/segments
indexes/distributed/o/
indexes/distributed/o/_rk.cfs
indexes/distributed/o/deletable
indexes/distributed/o/segments
indexes/distributed/p/
indexes/distributed/p/_2ou.cfs
indexes/distributed/p/deletable
indexes/distributed/p/segments
indexes/distributed/q/
indexes/distributed/q/_4x.cfs
indexes/distributed/q/deletable
indexes/distributed/q/segments
indexes/distributed/r/
indexes/distributed/r/_1jm.cfs
indexes/distributed/r/deletable
indexes/distributed/r/segments
indexes/distributed/s/
indexes/distributed/s/_3oi.cfs
indexes/distributed/s/deletable
indexes/distributed/s/segments
indexes/distributed/t/
indexes/distributed/t/_1nk.cfs
indexes/distributed/t/deletable
indexes/distributed/t/segments
indexes/distributed/u/
indexes/distributed/u/_1be.cfs
indexes/distributed/u/deletable
indexes/distributed/u/segments
indexes/distributed/v/
indexes/distributed/v/_k8.cfs
indexes/distributed/v/deletable
indexes/distributed/v/segments
indexes/distributed/w/
indexes/distributed/w/_qs.cfs
indexes/distributed/w/deletable
indexes/distributed/w/segments
indexes/distributed/x/
indexes/distributed/x/_12.cfs
indexes/distributed/x/deletable
indexes/distributed/x/segments
indexes/distributed/y/
indexes/distributed/y/_3m.cfs
indexes/distributed/y/deletable
indexes/distributed/y/segments
indexes/distributed/z/
indexes/distributed/z/_2p.cfs
indexes/distributed/z/deletable
indexes/distributed/z/segments
indexes/t9/
indexes/t9/_y1u.cfs
indexes/t9/deletable
indexes/t9/segments
indexes/wordnet/
indexes/wordnet/_y1v.cfs
indexes/wordnet/deletable
indexes/wordnet/segments
find test -name 'test_*.py' | xargs -n 1 /home/ofer/tmp/bin/python
Searching for: wicked
        A <b>wicked</b> problem... of the problem.  <b>Wicked</b>
.Searching for: wicked
        A <B>wicked</B> problem is one for which each... the understanding of 
the problem.  <B>Wicked</B>
.
----------------------------------------------------------------------
Ran 2 tests in 0.012s

OK
.....
----------------------------------------------------------------------
Ran 5 tests in 0.011s

OK
...
----------------------------------------------------------------------
Ran 3 tests in 0.668s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.006s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.007s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.005s

OK
.....
----------------------------------------------------------------------
Ran 5 tests in 0.011s

OK
........
----------------------------------------------------------------------
Ran 8 tests in 0.023s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
.Testing Indexing Incremental Looping
indexing  0
indexing  1
indexing  2
indexing  3
indexing  4
indexing  5
indexing  6
indexing  7
indexing  8
indexing  9
indexing  10
indexing  11
indexing  12
indexing  13
indexing  14
indexing  15
indexing  16
indexing  17
indexing  18
indexing  19
indexing  20
indexing  21
indexing  22
indexing  23
indexing  24
indexing  25
indexing  26
indexing  27
indexing  28
indexing  29
indexing  30
indexing  31
indexing  32
indexing  33
indexing  34
indexing  35
indexing  36
indexing  37
indexing  38
indexing  39
indexing  40
indexing  41
indexing  42
indexing  43
indexing  44
indexing  45
indexing  46
indexing  47
indexing  48
indexing  49
indexing  50
indexing  51
indexing  52
indexing  53
indexing  54
indexing  55
indexing  56
indexing  57
indexing  58
indexing  59
indexing  60
indexing  61
indexing  62
indexing  63
indexing  64
indexing  65
indexing  66
indexing  67
indexing  68
indexing  69
indexing  70
indexing  71
indexing  72
indexing  73
indexing  74
indexing  75
indexing  76
indexing  77
indexing  78
indexing  79
indexing  80
indexing  81
indexing  82
indexing  83
indexing  84
indexing  85
indexing  86
indexing  87
indexing  88
indexing  89
indexing  90
indexing  91
indexing  92
indexing  93
indexing  94
indexing  95
indexing  96
indexing  97
indexing  98
indexing  99
.........
----------------------------------------------------------------------
Ran 10 tests in 0.533s

OK
............
----------------------------------------------------------------------
Ran 12 tests in 0.248s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
...
----------------------------------------------------------------------
Ran 3 tests in 0.001s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 1.638s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.011s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.007s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.004s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.003s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.004s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
..................
----------------------------------------------------------------------
Ran 18 tests in 0.096s

OK
ls samples/LuceneInAction/*Test.py | xargs -n 1 /home/ofer/tmp/bin/python
..term -> *
field:[term TO null]
* -> term
field:[ TO term]
..
----------------------------------------------------------------------
Ran 4 tests in 0.671s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.002s

OK
...
----------------------------------------------------------------------
Ran 3 tests in 0.006s

OK
.or = category:/technology/computers/programming/methodology 
category:/philosophy/eastern
.
----------------------------------------------------------------------
Ran 2 tests in 0.004s

OK
Category /technology/computers/programming
    pragmatic = 1
    testing = 1
    ant = 1
    interface = 1
    unit = 1
    tools = 1
    tapestry = 1
    developer = 1
    web = 1
    java = 1
    agile = 1
    methodology = 1
    build = 1
    junit = 2
    mock = 1
    development = 1
    tool = 1
    objects = 1
    user = 1
    apache = 1
    search = 1
    jakarta = 1
    lucene = 1
    components = 1
Category /technology/computers/programming/education
    computers = 1
    powerful = 1
    ideas = 1
    logo = 1
    education = 1
    children = 1
Category /technology/computers/programming/methodology
    development = 1
    agile = 1
    programming = 1
    driven = 1
    methodology = 1
    test = 1
    extreme = 1
Category /technology/computers/ai
    theory = 1
    intelligence = 1
    number = 1
    artificial = 1
    music = 1
    mathematics = 1
Category /philosophy/eastern
    taoism = 1
Category /health/alternative/chinese
    gong = 1
    chinese = 1
    diet = 1
    herbs = 1
    health = 1
    medicine = 1
    qi = 1
Category /education/pedagogy
    waldorf = 1
    practice = 1
    education = 1
    psychology = 1
    philosophy = 1
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.002s

OK
E
======================================================================
ERROR: testTiming 
(lia.indexing.CompoundVersusMultiFileIndexTest.CompoundVersusMultiFileIndexTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/CompoundVersusMultiFileIndexTest.py",
 line 48, in setUp
    self.rmdir(cIndexDir)
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/CompoundVersusMultiFileIndexTest.py",
 line 58, in rmdir
    os.remove(os.path.join(dir, filename))
OSError: [Errno 13] Permission denied: '/tmp/index-dir-compound/_ff.cfs'

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
Sorted by: <custom:"location": [EMAIL PROTECTED]>
  Los Betos @ (9,6) -> 4.12310562562
  Cafe Poca Cosa @ (5,9) -> 5.09901951359
  Nico's Taco Shop @ (3,8) -> 7.28010988928
..
----------------------------------------------------------------------
Ran 2 tests in 0.007s

OK
EEEEEE
======================================================================
ERROR: testIndexReader (lia.indexing.BaseIndexingTestCase.BaseIndexingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexWriter (lia.indexing.BaseIndexingTestCase.BaseIndexingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testDeleteAfterIndexMerge 
(lia.indexing.DocumentDeleteTest.DocumentDeleteTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testDeleteBeforeIndexMerge 
(lia.indexing.DocumentDeleteTest.DocumentDeleteTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexReader (lia.indexing.DocumentDeleteTest.DocumentDeleteTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexWriter (lia.indexing.DocumentDeleteTest.DocumentDeleteTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

----------------------------------------------------------------------
Ran 6 tests in 0.004s

FAILED (errors=6)
EEEEE
======================================================================
ERROR: testIndexReader (lia.indexing.BaseIndexingTestCase.BaseIndexingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexWriter (lia.indexing.BaseIndexingTestCase.BaseIndexingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexReader (lia.indexing.DocumentUpdateTest.DocumentUpdateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexWriter (lia.indexing.DocumentUpdateTest.DocumentUpdateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testUpdate (lia.indexing.DocumentUpdateTest.DocumentUpdateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

----------------------------------------------------------------------
Ran 5 tests in 0.003s

FAILED (errors=5)
EEEEE
======================================================================
ERROR: testIndexReader (lia.indexing.BaseIndexingTestCase.BaseIndexingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexWriter (lia.indexing.BaseIndexingTestCase.BaseIndexingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexReader (lia.indexing.FS2RAMDirectoryTest.FS2RAMDirectoryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testIndexWriter (lia.indexing.FS2RAMDirectoryTest.FS2RAMDirectoryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

======================================================================
ERROR: testSlurp (lia.indexing.FS2RAMDirectoryTest.FS2RAMDirectoryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/BaseIndexingTestCase.py",
 line 44, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

----------------------------------------------------------------------
Ran 5 tests in 0.003s

FAILED (errors=5)
E
======================================================================
ERROR: testTiming 
(lia.indexing.FSversusRAMDirectoryTest.FSversusRAMDirectoryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/FSversusRAMDirectoryTest.py",
 line 47, in setUp
    self.fsDir = FSDirectory.getDirectory(fsIndexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/fs-index/segments_il

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
E
======================================================================
ERROR: testFieldSize (lia.indexing.FieldLengthTest.FieldLengthTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/FieldLengthTest.py",
 line 47, in setUp
    self.dir = FSDirectory.getDirectory(indexDir, True)
JavaError: java.io.IOException: Cannot delete /tmp/index-dir/_1.cfs

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
.Lucene in <B>Action</B>
Tapestry in <B>Action</B>
JUnit in <B>Action</B>
.
----------------------------------------------------------------------
Ran 2 tests in 0.003s

OK
Java Development with Ant: 0.574820697308
JUnit in Action: 0.812919199467
0.812919199467: JUnit in Action
0.574820697308: Java Development with Ant
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
...
----------------------------------------------------------------------
Ran 3 tests in 0.006s

OK
E.
======================================================================
ERROR: testCommitLock (lia.indexing.LockTest.LockTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home/ofer/tmp/PyLucene-src-2.1.0-1/samples/LuceneInAction/lia/indexing/LockTest.py",
 line 72, in testCommitLock
    reader1.close()
AttributeError: 'NoneType' object has no attribute 'close'

----------------------------------------------------------------------
Ran 2 tests in 0.011s

FAILED (errors=1)
..
----------------------------------------------------------------------
Ran 2 tests in 0.005s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.011s

OK
...
----------------------------------------------------------------------
Ran 3 tests in 0.005s

OK

2: [quick]
3: [brown]
4: [fox]
5: [jump]
6: [over]
8: [lazi]
9: [dog]
...
----------------------------------------------------------------------
Ran 3 tests in 0.008s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.002s

OK
.modified:[01/01/04 TO 12/31/04] parsed to modified:[01/01/04 TO 12/31/04]
...../Computers/technology*
.....
----------------------------------------------------------------------
Ran 11 tests in 0.021s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.003s

OK
.1.0 = (MATCH) fieldWeight(contents:x in 0), product of:
  1.0 = tf(termFreq(contents:x)=1)
  1.0 = idf(docFreq=1)
  1.0 = fieldNorm(field=contents, doc=0)

..
----------------------------------------------------------------------
Ran 3 tests in 0.006s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.002s

OK
spanOr([f:quick, f:fox]):
   the <quick> brown fox jumps over the lazy dog (0.371584266424)
   the quick brown <fox> jumps over the lazy dog (0.371584266424)
   the <quick> red fox jumps over the sleepy cat (0.371584266424)
   the quick red <fox> jumps over the sleepy cat (0.371584266424)

spanFirst(spanNear([f:quick, f:fox], 1, true), 4):
   the <quick brown fox> jumps over the lazy dog (0.185792133212)
   the <quick red fox> jumps over the sleepy cat (0.185792133212)

f:the:
   <the> quick brown fox jumps over the lazy dog (0.185792133212)
   the quick brown fox jumps over <the> lazy dog (0.185792133212)
   <the> quick red fox jumps over the sleepy cat (0.185792133212)
   the quick red fox jumps over <the> sleepy cat (0.185792133212)

spanNear([f:quick, f:brown], 0, false):
   the <quick brown> fox jumps over the lazy dog (0.287689089775)

.spanFirst(f:brown, 2):
   No spans

spanFirst(f:brown, 3):
   the quick <brown> fox jumps over the lazy dog (0.220970869064)

.spanNear([f:quick, f:brown, f:dog], 0, true):
   No spans

spanNear([f:quick, f:brown, f:dog], 4, true):
   No spans

spanNear([f:quick, f:brown, f:dog], 5, true):
   the <quick brown fox jumps over the lazy dog> (0.270264059305)

spanNear([f:lazy, f:fox], 3, false):
   the quick brown <fox jumps over the lazy> dog (0.203426927328)

.spanNear([f:quick, f:fox], 1, true):
   the <quick brown fox> jumps over the lazy dog (0.185792133212)
   the <quick red fox> jumps over the sleepy cat (0.185792133212)

spanNot(spanNear([f:quick, f:fox], 1, true), f:dog):
   the <quick brown fox> jumps over the lazy dog (0.185792133212)
   the <quick red fox> jumps over the sleepy cat (0.185792133212)

spanNot(spanNear([f:quick, f:fox], 1, true), f:red):
   the <quick brown fox> jumps over the lazy dog (0.185792133212)

.spanNear([spanNear([f:quick, f:fox], 1, true), spanNear([f:lazy, f:dog], 0, 
true)], 3, true):
   the <quick brown fox jumps over the lazy dog> (0.332194805145)

spanNear([spanNear([f:quick, f:fox], 1, true), spanNear([f:sleepy, f:cat], 0, 
true)], 3, true):
   the <quick red fox jumps over the sleepy cat> (0.332194805145)

spanOr([spanNear([spanNear([f:quick, f:fox], 1, true), spanNear([f:lazy, 
f:dog], 0, true)], 3, true), spanNear([spanNear([f:quick, f:fox], 1, true), 
spanNear([f:sleepy, f:cat], 0, true)], 3, true)]):
   the <quick brown fox jumps over the lazy dog> (0.54052811861)
   the <quick red fox jumps over the sleepy cat> (0.54052811861)

.f:brown:
   the quick <brown> fox jumps over the lazy dog (0.220970869064)

.
----------------------------------------------------------------------
Ran 6 tests in 0.030s

OK
.subject:logo filtered(category:*education*)->[EMAIL PROTECTED]
.
----------------------------------------------------------------------
Ran 2 tests in 0.005s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s

OK
[the] [quick] [brown]
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
"fox jumps" parses to  "fox (jumps hops leaps)"
>From AnalyzerUtils.tokensFromAnalysis:
[fox] [jumps] [hops] [leaps]
...
----------------------------------------------------------------------
Ran 3 tests in 0.009s

OK
make: *** [test] Error 123
---

-ofer

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to