Beta 2 works fine, but as soon as i upgrade to beta3 or the current 2.x-dev any search results in "The Apache Solr search engine is not available. Please contact your site administrator.".

According to admin/settings/apachesolr/settings

Apache Solr: Your site has contacted the Apache Solr server.
Apache Solr PHP Client Library: Correct version "Revision: 22".

Jumping back to beta2 brings back search.

Comments

trgreen17’s picture

Same here.

jvieille’s picture

Same here, but with 1.2
I changed the http lenght on Tomcat, apparently solved the issue, but not completely
The warning appeared when searching a very specific string that corresponded to one specific node... This node was useless, the issue went away after deletion.

dave the brave’s picture

I have that problem with 1.2. I found when I restarted solr with the new schema.xml shipped with 1.2, it threw errors on the following:

tint
tfloat
tlong
tdouble
tdate

It looked like the Trie stuff is missing from the solr installation itself...

For now I just commented out all the lines in schema.xml that contained those field types and got solr restarted, but I still have the engine availability issue (although going directly to it at /solr/admin works).

jpmckinney’s picture

Does upgrading to Solr 1.4 fix the problem? I've only been using this module with 1.4. Haven't had any problems.

dave the brave’s picture

I had 1.4 installed already, but I found upgrading to 1.4.1 worked.

3dloco’s picture

I currently using 6.x-2.x-dev with Solr 1.4.1 + Tomcat6 and was having the same issues after adding a date facet. Looks like the date facets make the header size very long and the default attribute is only 4096 bytes, therefore setting the maxHttpHeaderSize to four times the default (16384 bytes) resolved it for me.

As per http://drupal.org/node/443980, for anyone using solr+tomcat, look for the file server.xml

--Add the maxHttpHeaderSize & URIEncoding attributes to the Connector port="8080" or whichever port that you are using, so it looks something like this.

<Connector port="8080" protocol="HTTP/1.1" 
     				maxHttpHeaderSize="16384" 
     				connectionTimeout="20000" 
     				redirectPort="8443" 
               URIEncoding="UTF-8"
   />          

--restart tomcat and flush caches.

Regards,

KH

JustinJohnson’s picture

The solution from http://drupal.org/node/443980 also worked for me using a non-tomcat server. Follow the jetty instructions. Thanks!

mrgoltra’s picture

subscribing.

jpmckinney’s picture

Category: bug » support

Seems to be about config issues. Support request, then.

pwolanin’s picture

Status: Active » Closed (duplicate)

probably dup of other URL length issues