pylucene 3.5.0-3
[pylucene.git] / samples / LuceneInAction / ScoreTest.py
1
2 import os, sys, unittest, lucene
3 lucene.initVM()
4
5 baseDir = os.path.dirname(os.path.abspath(sys.argv[0]))
6 sys.path.append(baseDir)
7
8 import lia.searching.ScoreTest
9 from lucene import System
10
11 System.setProperty("index.dir", os.path.join(baseDir, 'index'))
12 unittest.main(lia.searching.ScoreTest)