when specifying terms like 'OR' 'AND' 'NOT the searchfield spits back a javascript error. Must be capitals for boolean search with solr.

An error occurred. 
/apachesolr_autocomplete
<br />
<b>Fatal error</b>:  Uncaught exception 'Exception' with message '&quot;400&quot; Status: Bad Request&lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.27 - 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 'test OR': Encountered &amp;quot;&amp;lt;EOF&amp;gt;&amp;quot; at line 1, column 7.
Was expecting one of:
    &amp;lt;NOT&amp;gt; ...
    &amp;quot;+&amp;quot; ...
    &amp;quot;-&amp;quot; ...
    &amp;quot;(&amp;quot; ...
    &amp;quot;*&amp;qu in <b>/var/www/dev.altc.edu.au/sites/corporate/modules/apachesolr/Drupal_Apache_Solr_Service.php</b> on line <b>272</b><br />

Comments

janusman’s picture

I don't think this is an issue with this module, since it just passes the query thru the apachesolr_search.module functions.

Can you confirm this also happens when the autocomplete module is disabled?

janusman’s picture

Status: Active » Closed (fixed)