Dave Lowe schrieb:
> Here's the Django side:
>
> results = Product.objects.extra(
> select={
> 'rank': "rank_cd(textsearchable, query, 32)",
> },
> tables=["to_tsquery(%s) as query"],
>
Here's the Django side:
results = Product.objects.extra(
select={
'rank': "rank_cd(textsearchable, query, 32)",
},
tables=["to_tsquery(%s) as query"],
Since the merge of queryset-refactor into trunk, my full-text searches
have broken. I'm using the method outlined in the PostgreSQL manual in
section 12.3.3 (http://postgresql.com.cn/docs/8.3/static/textsearch-
controls.html#TEXTSEARCH-RANKING). The error message I get is:
relation "to_tsquery(1)
3 matches
Mail list logo