cole2295 / subtext

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

Exception thrown by Lucene when searching for phrase containing parenthesis #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. visit the following URL: http://haacked.com/search.aspx?q=editorfor%28%29

What is the expected output? What do you see instead?
Search Results

Original issue reported on code.google.com by haac...@gmail.com on 25 Mar 2010 at 6:10

GoogleCodeExporter commented 9 years ago
It seems the error would occur with most of the special characters...

Original comment by shankarkrupa@gmail.com on 25 Mar 2010 at 2:42

GoogleCodeExporter commented 9 years ago
Yeah, I know... I should do a little of parsing before

Original comment by simone.chiaretta on 25 Mar 2010 at 3:03

GoogleCodeExporter commented 9 years ago
This is not only a problem when the phrase contains parenthesis. You also get 
an exception for certain key words, like "into":

http://haacked.com/search.aspx?q=into

:-/

Original comment by kuhn.pe...@gmail.com on 23 Aug 2010 at 2:44

GoogleCodeExporter commented 9 years ago

Original comment by simone.chiaretta on 30 Nov 2010 at 8:52

GoogleCodeExporter commented 9 years ago
Fixed in r4187

Original comment by haac...@gmail.com on 15 May 2011 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by haac...@gmail.com on 15 May 2011 at 10:28

GoogleCodeExporter commented 9 years ago
I am going to put a dictionary test against the search page. I will validate 
this specific issue. Should dictionary throw an error will report :)

Original comment by Simon.JPhilp on 29 May 2011 at 4:40