Closed (duplicate)
Project:
Apache Solr Search
Version:
6.x-2.0-beta3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2010 at 21:52 UTC
Updated:
18 Mar 2011 at 20:46 UTC
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
Comment #1
trgreen17 commentedSame here.
Comment #2
jvieille commentedSame 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.
Comment #3
dave the brave commentedI 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).
Comment #4
jpmckinney commentedDoes upgrading to Solr 1.4 fix the problem? I've only been using this module with 1.4. Haven't had any problems.
Comment #5
dave the brave commentedI had 1.4 installed already, but I found upgrading to 1.4.1 worked.
Comment #6
3dloco commentedI 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.
--restart tomcat and flush caches.
Regards,
KH
Comment #7
JustinJohnson commentedThe solution from http://drupal.org/node/443980 also worked for me using a non-tomcat server. Follow the jetty instructions. Thanks!
Comment #8
mrgoltra commentedsubscribing.
Comment #9
jpmckinney commentedSeems to be about config issues. Support request, then.
Comment #10
pwolanin commentedprobably dup of other URL length issues