On Saturday, June 29, 2013 9:32:19 PM UTC-7, Harjot Mann wrote:
Is there any search query in django which can ignore vowels like I want to make a query which displays all the clients name who writes their name as 'amanjit' or 'amanjeet'.
It should take take ee=i or anything like this. Please help me I have to finish my task asap.
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.
./s
-- 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