Skip to content

Defined new way to override standard field type for string #1637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

neural22
Copy link

@neural22 neural22 commented Aug 6, 2018

Only english fields were allowed by default, it is now possible to define a custom string field to use not standard tokenization.
A new class can be specified which inherit from CharField and define a new class field field_type_raw with the required field type.

Hey, thanks for contributing to Haystack. Please review the contributor guidelines and confirm that the tests pass with at least one search engine.

Once your pull request has been submitted, the full test suite will be executed on https://travis-ci.org/django-haystack/django-haystack/pull_requests. Pull requests with passing tests are far more likely to be reviewed and merged.

Only english fields were allowed by default, it is now possible to define a custom string field to use not standard tokenization.
A new class can be specified which inherit from CharField and define a new class field field_type_raw with the required field type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant