Skip to content
Snippets Groups Projects
Commit 75f57538 authored by felixwelter's avatar felixwelter
Browse files

Clean up imports and formatting

parent d93a7f78
No related branches found
No related tags found
No related merge requests found
import os import os
import socket
from pathlib import Path from pathlib import Path
import pdfplumber import pdfplumber
......
import os import os
import shutil import shutil
from whoosh.index import create_in, open_dir, EmptyIndexError
from whoosh.fields import TEXT, Schema, ID, NUMERIC from whoosh.fields import TEXT, Schema, ID, NUMERIC
from whoosh.index import create_in, open_dir, EmptyIndexError
from whoosh.qparser import QueryParser, OrGroup from whoosh.qparser import QueryParser, OrGroup
......
from deprecated import deprecated
from nltk import word_tokenize
from whoosh.qparser import QueryParser, OrGroup from whoosh.qparser import QueryParser, OrGroup
from nltk import word_tokenize
from .basic_search_index import BasicSearchIndex from .basic_search_index import BasicSearchIndex
from deprecated import deprecated
@deprecated(reason="Uses overly complicated query creation. Use TitleFocusSearchIndex instead.") @deprecated(reason="Uses overly complicated query creation. Use TitleFocusSearchIndex instead.")
......
from whoosh.qparser import QueryParser, OrGroup from whoosh.qparser import QueryParser, OrGroup
from .basic_search_index import BasicSearchIndex from .basic_search_index import BasicSearchIndex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment