Skip to content

unidecode of input query #15

Description

@NickSimkin

Hi! Thanks for a good job! Searching bakend is really what wagtail needs

My question about unidecode function. Why wagtail-whoosh calls it for every field? If I develop multilingual site I create field for every languge and this fields all indexed by Whoosh. And when I searching, backend convert query words from unicode to Ascii. It is not what I want!

try:
     # Only use the GPLv2 licensed unidecode if it's installed.
     from unidecode import unidecode
except ImportError:
     def unidecode(value):
         return value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions