Python: Whoosh Seems To Return Incorrect Results
This code is straight from Whoosh's quickstart docs: import os.path from whoosh.index import create_in from whoosh.fields import Schema, STORED, ID, KEYWORD, TEXT from whoosh.index
Solution 1:
A stop word filter is applied by the default text analyzer: https://bitbucket.org/mchaput/whoosh/src/999cd5fb0d110ca955fab8377d358e98ba426527/src/whoosh/analysis/filters.py?at=default#cl-41
See also the doc: http://whoosh.readthedocs.org/en/latest/api/analysis.html#whoosh.analysis.StopFilter
Post a Comment for "Python: Whoosh Seems To Return Incorrect Results"