forked from crunk/distribusi-verse
9 lines
216 B
Python
9 lines
216 B
Python
|
import os
|
||
|
|
||
|
from whoosh.fields import *
|
||
|
from whoosh.index import open_dir
|
||
|
from whoosh.qparser import QueryParser
|
||
|
|
||
|
SCRIPT_DIR = os.path.dirname(__file__)
|
||
|
DATA_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, "../data"))
|