How not to parse search queries
By Tim Retout from southampton.pm
Date: Saturday, 30 November 2013 16:30
Duration: 20 minutes
Target audience: Any
Language: English
Tags: parsing search solr
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: Tom Hukins, David Dorward, ribasushi +1, Merlyn Kline, James Green (jkg), Dave Cross (davorg), Hugh Barnard, Andrew Jones, geira, Jerome Eteve (jeteve), Wesley Johnson (wesjdj), Venkatesh R (Venki), Dermot Paikkos, Tanscia, Tim Bunce, Christopher Hanna (Chad), Aaron Trevena (TEEJAY), John Harrison (JohnGH),