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

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -