#34459: SearchVector() can return query strings that are unsafe to combine.
----------------------------------+------------------------------------
     Reporter:  Patryk Zawadzki   |                    Owner:  (none)
         Type:  Bug               |                   Status:  new
    Component:  contrib.postgres  |                  Version:  4.2
     Severity:  Release blocker   |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------

Comment (by Patryk Zawadzki):

 David, I’m not sure if it’s “supported” or not, but my project uses
 SearchVector with expressions such as Value instead of column names so I
 see a lot of percent signs passed as the corpus of text, not the config or
 weight. We calculate some of the values we index in Python code and
 combine strings with different weights.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34459#comment:3>
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/010701874e6e9225-ab59dc1e-fae4-4c56-ba7a-4adbc562de96-000000%40eu-central-1.amazonses.com.

Reply via email to