Could anyone provide some hints on how they have implemented search functionality on their web site? Did you do it django or use another middleware (eg, Lucene)? If you did it django, did you bypass the ORM and use direct SQL to take advantage of full text search?
I'm currently trying to build the functionality directly in django's ORM as a cascade of functions that would retrieve matches in decreasing relevance, eg: class Article(meta.Model): title = meta.CharField() description = meta.TextField() keywords = meta.CharField() def search(request, term): matches = [] matches.extend(findExactTitle(term)) matches.extend(findInTitle(term)) matches.extend(findInKeywords(term)) matches.extend(findInDescription(term)) render_to_response('search_results', {'matches': matches} Any ideas? Suggestions?