# sample needs to be rewritten to use RangeFilter
import os, sys, unittest, lucene
lucene.initVM()
baseDir = os.path.dirname(os.path.abspath(sys.argv[0]))
sys.path.append(baseDir)
import lia.advsearching.FilterTest
from lucene import System
System.setProperty("index.dir", os.path.join(baseDir, 'index'))
unittest.main(lia.advsearching.FilterTest)
|