Re: [Django] #31386: Add support for the PostgresSQL ts_rank_cd function

2020-03-22 Thread Django
#31386: Add support for the PostgresSQL ts_rank_cd function
-+-
 Reporter:  Hannes Ljungberg |Owner:  Hannes
 |  Ljungberg
 Type:  New feature  |   Status:  closed
Component:  contrib.postgres |  Version:  master
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:  postgres search  | Triage Stage:  Ready for
  ts_rank_cd |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Simon Charette):

 * status:  assigned => closed
 * resolution:   => duplicate


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.ae43a8ed4dc819c6723e6022a80af5e3%40djangoproject.com.


Re: [Django] #31386: Add support for the PostgresSQL ts_rank_cd function

2020-03-22 Thread Django
#31386: Add support for the PostgresSQL ts_rank_cd function
-+-
 Reporter:  Hannes Ljungberg |Owner:  Hannes
 |  Ljungberg
 Type:  New feature  |   Status:  assigned
Component:  contrib.postgres |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  postgres search  | Triage Stage:  Ready for
  ts_rank_cd |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Hannes Ljungberg):

 I don’t know how I missed that ticket. Sorry about that!

 Sure, let’s close this ticket in favor of #28194. I’ll update my PR to add
 support for the ` normalization` parameter.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c6a6c68e873882c4562d9f1a47f7571c%40djangoproject.com.


Re: [Django] #31386: Add support for the PostgresSQL ts_rank_cd function

2020-03-22 Thread Django
#31386: Add support for the PostgresSQL ts_rank_cd function
-+-
 Reporter:  Hannes Ljungberg |Owner:  Hannes
 |  Ljungberg
 Type:  New feature  |   Status:  assigned
Component:  contrib.postgres |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  postgres search  | Triage Stage:  Ready for
  ts_rank_cd |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Simon Charette):

 I guess we could close this one as duplicate of #28194 and have
 https://github.com/django/django/pull/12597 address both.

 Is it something you're interested in doing Hannes?

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.ab2793d5b3457bd036ad7d99a52e0f23%40djangoproject.com.


Re: [Django] #31386: Add support for the PostgresSQL ts_rank_cd function

2020-03-22 Thread Django
#31386: Add support for the PostgresSQL ts_rank_cd function
-+-
 Reporter:  Hannes Ljungberg |Owner:  Hannes
 |  Ljungberg
 Type:  New feature  |   Status:  assigned
Component:  contrib.postgres |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  postgres search  | Triage Stage:  Ready for
  ts_rank_cd |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Claude Paroz):

 Almost a duplicate of #28194. However, #28194 also suggests adding the
 `normalization` keyword parameter. Should we keep both tickets and address
 both issues separately?

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7ce1ea6d14cfdd750cf2be449820144a%40djangoproject.com.


Re: [Django] #31386: Add support for the PostgresSQL ts_rank_cd function

2020-03-20 Thread Django
#31386: Add support for the PostgresSQL ts_rank_cd function
-+-
 Reporter:  Hannes Ljungberg |Owner:  Hannes
 |  Ljungberg
 Type:  New feature  |   Status:  assigned
Component:  contrib.postgres |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  postgres search  | Triage Stage:  Ready for
  ts_rank_cd |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Simon Charette):

 * stage:  Unreviewed => Ready for checkin


Comment:

 Patch LGTM pending two minor adjustments.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6d1e5a06404b7d4061f41a1f3a644472%40djangoproject.com.


Re: [Django] #31386: Add support for the PostgresSQL ts_rank_cd function

2020-03-20 Thread Django
#31386: Add support for the PostgresSQL ts_rank_cd function
-+-
 Reporter:  Hannes Ljungberg |Owner:  Hannes
 |  Ljungberg
 Type:  New feature  |   Status:  assigned
Component:  contrib.postgres |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  postgres search  | Triage Stage:
  ts_rank_cd |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Hannes Ljungberg):

 * has_patch:  0 => 1


Comment:

 PR: https://github.com/django/django/pull/12597

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5293264217fa52f5422d8ce236b091ae%40djangoproject.com.


[Django] #31386: Add support for the PostgresSQL ts_rank_cd function

2020-03-20 Thread Django
#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: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.565217b0bdc8277158ea8572fd64fb64%40djangoproject.com.