-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add support for custom field types w/ Solr backend #1646
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
base: master
Are you sure you want to change the base?
Add support for custom field types w/ Solr backend #1646
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1646 +/- ##
=======================================
Coverage 33.62% 33.62%
=======================================
Files 34 34
Lines 1972 1972
=======================================
Hits 663 663
Misses 1309 1309 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have a test but otherwise looks ready to merge
The Solr backend supported only
text_en
forCharField
which is not appropriate for some use-cases. You can now derive a custom Field with a get_field_type method which delivers the required field-type.