django-haystack seemed overkill for me.
django-unaccent looks pretty good, since I'm using PostgreSQL. I'll take a
look into that, thanks!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups
On Jun 4, 4:20 pm, Peter of the Norse wrote:
> One possibility is to use MySQL. By default it indexes things so that a, á,
> and À are the same thing. There are some gotchas though: you have to make
> sure that it’s using an appropriate character set for the languages you’re
> using. (UTF-8 is
Since no one seemed to mention it so far: what about using a real
fulltext search engine ?
(hint : django-haystack provides a django-ish, unified API over quite
a few known search engines).
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
One possibility is to use MySQL. By default it indexes things so that a, á, and
À are the same thing. There are some gotchas though: you have to make sure that
it’s using an appropriate character set for the languages you’re using. (UTF-8
is a good choice.) There’s not a good similar solution fo
Hi, if you are using postgreSQL, I released a week ago a library to do
just what you need: see: https://github.com/djcoin/django-unaccent/
Once you got the `unaccent` function set up in your postgreSQL db, you
can make unaccented search from the Django ORM as usual.
Eg: Given a book title of "The
Maybe you could just build a simple index? It'd basically be a set of
keywords, each with a set of matching books.
So in your example, you'd have two keywords:
hola (with accent) -> book1, book2, etc..
hola (without accent) -> (same as previous)
And then just write some sort of functionality to r
I need to do a simple search ignoring some characters with accents. The
idea would be that "hola" matches the search term "holá".
What I'm currently doing is adding a CharField to my model to store the
searchable term. For example:
class Book(models.Model):
title = models.CharField(max_length
7 matches
Mail list logo