Changes between Version 1 and Version 2 of Ticket #31304, comment 3


Ignore:
Timestamp:
Feb 24, 2020, 12:46:06 PM (5 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31304, comment 3

    v1 v2  
    3333
    3434That would make `filter(column__search=SearchQuery('simple', config='simple'))` result in the desired `to_tsvector('simple', column) @@ plainto_tsquery('simple', 'keyword')`.
     35
     36FWIW [https://github.com/django/django/blob/271fdab8b78af558238df51c64b4d1c8dd0792bb/django/contrib/postgres/search.py#L11-L14 that's already something we do] for the `SearchVectorExact` lookup.
Back to Top