Changes between Initial Version and Version 1 of Ticket #30637
- Timestamp:
- Jul 14, 2019, 2:04:06 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30637 – Description
initial v1 96 96 }}} 97 97 }}} 98 99 I have also tried casting the "text_search" field into a SearchVector, but that also fails. 100 {{{ 101 #!div style="font-size: 80%" 102 Code highlighting: 103 {{{#!python 104 JobPosting.objects.annotate(full_text=(SearchVector("role") + Cast("text_search", SearchVector()))).filter(full_text=SearchQuery("foo")) 105 TypeError: SearchVector can only be combined with other SearchVectors 106 }}} 107 }}}