I'm getting unexpected (missing) results from the __search field
lookup
it looks like it can only finds whole words, but only if they're
larger than
3 chars. is this correct?  and is it supposed to work like this?


In [65]: c.choice='ABC123\ncde456'

In [66]: c.save()

In [67]: Choice.objects.filter(choice__search='abc123')
Out[67]:
[ABC123
cde456]

In [68]: c.choice='ABC\ncde'

In [69]: c.save()

In [70]: Choice.objects.filter(choice__search='abc')
Out[70]: []


abe


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to