How not to parse search queries
You can find more information on the speaker's site:
- Abstract: http://retout.co.uk/blog/2013/12/02/how-not-to-parse-search-queries
- Talk: http://retout.co.uk/2013/search-queries.pdf
Everyone wants a good search interface on their website. The usual approach of picking the nearest CPAN module is prone to failure here.
I will discuss Search::QueryParser (and Search::Query::Parser) and show how they fall short. I will show a better parser of my own design, and explain why it sucks too. Finally I will demo a working Solr-based solution that needs far less code.
Attended by: Dave Cross (davorg), Tom Hukins, David Dorward, geira, Tim Bunce, Aaron Trevena (TEEJAY), Christopher Hanna (Chad), Dermot Paikkos, Peter Rabbitson (ribasushi), John Harrison (JohnGH), Jerome Eteve (jeteve), Wesley Johnson (wesjdj), Andrew Jones, James Green (jkg), Hugh Barnard, Merlyn Kline, Tanscia, Venkatesh R (Venki),