If someone types "foo bar (including the unbalanced quote) in my search, QueryParser.Parse throws an error. It seems to do this even if I escape the query. What's the proper way to handle cleaning user input for a Lucene query?
Thanks --Max
If someone types "foo bar (including the unbalanced quote) in my search, QueryParser.Parse throws an error. It seems to do this even if I escape the query. What's the proper way to handle cleaning user input for a Lucene query?
Thanks --Max