You can do this by creating an extra field in the model with the name without vowels in it and doing a simple filter on it ? Is that what you need ?
2013/6/30 Harjot Mann <harjotmann1992@gmail.com>
On Sun, Jun 30, 2013 at 10:18 PM, Scot Hacker <scot.hacker@gmail.com> wrote:Yes this is exactly what I want, right now its a very simple search
> This is really a question about regular expressions, not about Django.
> Whether you implement simple or complex search in Django, whether you use
> Django or some other platform, this is going to come down to using a fairly
> complex regular expression. So I would search for "regex ignore vowels" and
> similar. I would also expect performing a search like that to be extremely
> expensive, computationally, since it will need to tear apart every single
> word in the pool. That, in turn, means you'll want to use a search system
> with very robust indexes. In fact, you might do best with a system that
> pre-indexes all of your content without vowels.
but I want it to be a very good search.Please help me.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment