Setting up a django website calls for (though not always): django installation configuring Apache mod_wsgi others like database servers, static file server etc Now if you are developing a small scale website, you may not want to go the Apache, mod_wsgi way.. Django helps here by providing a development web server, so that you … Continue reading Django setup on Ubuntu
Category: Python
Abstraction in Search
Another great event I attended this year.. PyCon India 2012, was better organized, had better talks, more audiences, job fair and more fun than ever before.. 🙂 Not to forget the evening dinner for speakers 😉 I loved every bit of it.... talking to experts, talking to Python enthusiasts, answering their Qs and wondering why … Continue reading Abstraction in Search
Tornado – Whoosh – Highlighted Search
So common use case of a Search Engine.. Don't you observe Google highlights the keywords the user searches for? That is what we achieve in this example below https://gist.github.com/3827582 Search results for highlighted search
Tornado – Whoosh – DidYouMean
Have tried to search a word in google and you got a response from google saying, 'Did You Mean' when the word you have typed is spelled incorrectly? Something like this? And you want to implement this feature in your engine? Well, Whoosh search engine is capable of performing didyoumean operation on the queires presented … Continue reading Tornado – Whoosh – DidYouMean
Tornado – Whoosh – MoreLike and MoreLikeThis
Like other search engines, Whoosh too provides more_like() and more_like_this() methods to find similar documents in the index, Typically, morelikethis doesnt execute any special query to get the list of similar documents to the one specified, but in fact it searches all other documents in the index relative to the document content that is specified. … Continue reading Tornado – Whoosh – MoreLike and MoreLikeThis