#26285 closed Cleanup/optimization (fixed)
Deprecate the MySQL specific __search lookup
Reported by: | Tim Graham | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Found the implementation in Marc Taymlyn's branch for PostgreSQL full text text. It should have a separate ticket.
Note:
See TracTickets
for help on using tickets.
PR. As noted there, a remaining problem is that the
__search
lookup is used by the adminfor the
search_fields = ['@fieldname']
syntax. I think #26184 would allow removing that code.If we don't want to make that ticket a prerequisite of this one, I suppose we could leave that code for now, even if the
search
lookup is removed from Django itself.