Skip to content

Commit 74f9e0d

Browse files
committed
Decided not to include the whoosh package
1 parent 037c71b commit 74f9e0d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+11
-49154
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Prerequisites
2525

2626
- `python-lxml` (Ubuntu/Mint/Debian), `python2-lxml` (Arch Linux)
2727

28+
* Whoosh 2.x
29+
30+
- `python-whoosh` (Ubuntu/Mint/Debian), `python2-whoosh` in AUR (Arch Linux)
31+
2832
* [On Linux] Python bindings for Gstreamer
2933

3034
- `python-gst` (Ubuntu/Mint/Debian), `gstreamer0.10-python` (Arch Linux)

ldoce5viewer/fulltext.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
from operator import itemgetter
1111
import fnmatch
1212

13-
from .whoosh import index as wh_index
14-
from .whoosh.fields import Schema, STORED, IDLIST, ID, TEXT
15-
from .whoosh.analysis import StandardAnalyzer, Filter
16-
from .whoosh.query import Variations, Term, Or, And
17-
from .whoosh.qparser import QueryParser, \
13+
from whoosh import index as wh_index
14+
from whoosh.fields import Schema, STORED, IDLIST, ID, TEXT
15+
from whoosh.analysis import StandardAnalyzer, Filter
16+
from whoosh.query import Variations, Term, Or, And
17+
from whoosh.qparser import QueryParser, \
1818
RangePlugin, BoostPlugin, WildcardPlugin, OperatorsPlugin
19-
from .whoosh.highlight import WholeFragmenter, HtmlFormatter
20-
from .whoosh.collectors import WrappingCollector, \
19+
from whoosh.highlight import WholeFragmenter, HtmlFormatter
20+
from whoosh.collectors import WrappingCollector, \
2121
UnlimitedCollector, TopCollector
2222

2323
from .utils.cdb import CDBReader, CDBMaker, CDBError

ldoce5viewer/whoosh/__init__.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

ldoce5viewer/whoosh/analysis/__init__.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

ldoce5viewer/whoosh/analysis/acore.py

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)