python - Whoosh strict exact phrase matches with special characters -
i'm using whoosh index 100k+ documents because want run many literal phrase queries special characters such "a" vancouver island or !action pact!.
i've created index using:
schema = schema(path=id(stored=true), content=text(analyzer=analysis.standardanalyzer(stoplist=none))) and i've tried running searches using phraseas query, , using spannear2.
neither return correct matches. not want results similar !action pact!, want match if text contains !action pact!, word word, special character special character, including spaces.
Comments
Post a Comment