Bug#499599: pylucene: README code example doesn't work

2008-09-22 Thread Jeff Breidenbach
Forwarding to upstream.

Bug#499599: pylucene: README code example doesn't work

2008-09-20 Thread Sylvain Fankhauser
Package: pylucene Version: 2.3.1-1.1 Severity: normal Tags: patch In the README.gz file, there's a code example at the line 145 which doesn't work. The following lines : for hit in hits: hit = Hit.cast_(hit) print hits.score(i), ':', hit.getDocument['title'] Should be replaced by this :