On 15-Sep-06, at 12:39 PM, mrstone wrote:
> I'm fiddling around with MySQL fulltext search and run into a problem.
>
> Using the below code works:
>
> match_expr = "MATCH(name) AGAINST (%s IN BOOLEAN MODE)"
> qs =
> Place.objects.all().filter(name__search=query).extra(select=
> {'relevance':
> match_expr}, params=[query])
>
>
> But when calling qs.count() I get:
> TypeError at /
> not all arguments converted during string formatting
>
> Is this a bug or am I using the extra in a wrong way?
Hi Sten,
I just ran into this today. Did you ever figure out a workaround?
Thanks,
Beau
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---