Full text search using postgresql-8.4 and django -


full text search mysql & django can done using following django api query

entry.objects.filter(headline__search="search text") 

this returns result set properly.but can't used postgresql, while using getting exception shown below

full-text search not implemented database backend  

how can imlement full text search postgresql & django same of django-mysql full text search?

you can try

entry.objects.filter(headline__contains="search text") 

or __icontains case-insensitive search.

as django doc says __search works mysql now.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -