title: searching "-" in websolr
body: <p>websolr is returning </p>
  
  <pre><code> RSolr::Error::Http - 400 Bad Request
  Error: &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/6.0.28 - Error report&lt;/title&gt;&lt;style&gt;&lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse '----': Encountered &amp;quot; &amp;quot;-&amp;quot; &amp;quot;- &amp;quot;&amp;quot; at line 1, column 1.
  Was expecting one of:
     &amp;quot;(&amp;quot; ...
     &amp;quot;*&amp;quot; ...
     &lt;QUOTED&gt; ...
     &lt;TERM&gt; ...
     &lt;PREFIXTERM&gt; ...
     &lt;WILDTERM&gt; ...
     &amp;quot;[&amp;quot; ...
     &amp;quot;{&amp;quot; ...
     &lt;NUMBER&gt; ...
  </code></pre>
  
  <p>when ever tried to search "-" character.</p>
  
  <p>other special characters works fine like ":" etc i have tried to use CGI.escape but its not making escape to these characters.</p>