diff --git a/search_index.py b/search_index.py index 5c9ba2ca520430735cf25fb2ba626863afca9323..c9e102e39c18bdd74e725574b61cdf66784e6d44 100644 --- a/search_index.py +++ b/search_index.py @@ -7,6 +7,7 @@ from whoosh.qparser import QueryParser, OrGroup class BasicSearchIndex: + """Expose relevant functions of Whoosh using a simple interface""" def __init__(self, index_dir="index"): self.schema = Schema(path=ID(stored=True), page=NUMERIC(stored=True), content=TEXT(stored=True)) try: