pylucene 3.5.0-3
[pylucene.git] / samples / LuceneInAction / FilterTest.py
1
2 # sample needs to be rewritten to use RangeFilter
3
4 import os, sys, unittest, lucene
5 lucene.initVM()
6
7 baseDir = os.path.dirname(os.path.abspath(sys.argv[0]))
8 sys.path.append(baseDir)
9
10 import lia.advsearching.FilterTest
11 from lucene import System
12
13 System.setProperty("index.dir", os.path.join(baseDir, 'index'))
14 unittest.main(lia.advsearching.FilterTest)