#31386: Add support for the PostgresSQL ts_rank_cd function
-------------------------------------+-------------------------------------
Reporter: Hannes | Owner: Hannes Ljungberg
Ljungberg |
Type: New | Status: assigned
feature |
Component: | Version: master
contrib.postgres | Keywords: postgres search
Severity: Normal | ts_rank_cd
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The `ts_rank_cd` function is used as an alternative to `ts_rank` for
penalizing query words that are further apart from each other.
I'm thinking that adding a `cover_density` parameter to `SearchRank`
should be enough. If this parameter is set to `True` the function will be
switched to `ts_rank_cd`.
--
Ticket URL: <https://code.djangoproject.com/ticket/31386>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.565217b0bdc8277158ea8572fd64fb64%40djangoproject.com.