satyaveerendra / djangosearch

Automatically exported from code.google.com/p/djangosearch
0 stars 0 forks source link

djangosearch fails on badly constructed queries. #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Given a badly constructed query (eg "(((") djangosearch fails by throwing an 
internal exception from 
pyparsing. it would be rather nicer if it threw an exception of its own, which 
I could catch from the 
public API.

The attached patch (against soc-new-backends) does this.

Original issue reported on code.google.com by toby.o.h...@gmail.com on 8 Dec 2008 at 4:11

Attachments: