#27227: Full text search by UUIDField returns DataError
-------------------------------------+-------------------------------------
     Reporter:  danclaudiupop        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.10
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  UUIDField fts        |             Triage Stage:
  postgres                           |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by danclaudiupop):

 We have a system in which we identify a resource by uuid field. We also
 expose a search endpoint where we give back a list of different resource
 types. For commodity we also search in the uuid field to give back the
 proper resource on the search endpoint.

 Instead of checking "/api/book/<uuid>/" or "/api/author/<uuid>/" for an
 <uuid> we can go directly to "api/search/?q=<uuid>" to fetch the resource.

--
Ticket URL: <https://code.djangoproject.com/ticket/27227#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.78ac02294df2bcfb92c25558f0329b8d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to