On 9/9/2015 3:35 PM, Tim Dunphy wrote: > But I find that I am now getting these errors in the solr logs when I load > up solr in the web browser: > > Time (Local)LevelLoggerMessage9/9/2015, 5:19:41 PMWARNSolrResourceLoaderCan't > find (or read) directory to add to classloader: > ../../../contrib/extraction/lib (resolved as: > /usr/local/tomcat/solr/drupal/../../../contrib/extraction/lib).9/9/2015, > 5:19:41 PMWARNSolrResourceLoaderCan't find (or read) directory to add to > classloader: ../../../contrib/clustering/lib/ (resolved as: > /usr/local/tomcat/solr/drupal/../../../contrib/clustering/lib).9/9/2015, > 5:19:42 PMWARNSolrResourceLoaderSolr loaded a deprecated plugin/analysis > class [solr.FloatField]. Please consult documentation how to replace it > accordingly.9/9/2015, 5:19:42 PMWARNSolrResourceLoaderSolr loaded a > deprecated plugin/analysis class [solr.DateField]. Please consult > documentation how to replace it accordingly.9/9/2015, 5:19:42 > PMWARNSolrCore[drupal] > Solr index directory > '/usr/local/apache-tomcat-7.0.64/solr/drupal/data/index' doesn't exist. > Creating new index...9/9/2015, 5:19:42 PMWARNRequestHandlersMultiple > requestHandler registered to the same name: /update ignoring: > org.apache.solr.handler.UpdateRequestHandler9/9/2015, 5:19:42 PMWARN > RequestHandlersMultiple requestHandler registered to the same name: > /update/csv ignoring: org.apache.solr.handler.UpdateRequestHandler9/9/2015, > 5:19:42 PMWARNRequestHandlersMultiple requestHandler registered to the same > name: /update/json ignoring: org.apache.solr.handler.UpdateRequestHandler
You have a configuration and schema designed for Solr 3.x, not for 4.10. Drupal *really* needs to update their offerings for modern Solr versions. Solr 3.6, the latest version in the 3.x series, was released in April of 2012. A large number of things in the configuration have become outdated in the last 3.5 years, and some new things that are highly recommended have been added to the examples. The first few messages in your log are complaining about <lib> configurations in your solrconfig.xml that point to nonexistent locations. Remove them. For the messages about a deprecated classes, you have fieldTypes in your schema.xml that are using Solr.FloatField or solr.DateField, which have been deprecated for a long time. See the "Deprecated" note on the javadoc: http://lucene.apache.org/solr/4_10_3/solr-core/org/apache/solr/schema/FloatField.html http://lucene.apache.org/solr/4_10_3/solr-core/org/apache/solr/schema/DateField.html Note that if you change your schema to use Trie classes as recommended there, you will have to completely reindex. https://wiki.apache.org/solr/HowToReindex For the other error messages, it is complaining that you have multiple request handlers named "/update", "/update/csv", and "/update/json". If you actually do have multiple definitions in your solrconfig.xml, just remove the multiples. If you do not actually have multiple request handlers with those names in your config, which I think is far more likely, then the reason the errors are coming up is because those handlers are implicitly defined in the Solr version you are running, and no longer need to be configured. In that case, simply remove those handler definitions from your solrconfig.xml and the log messages will go away. Thanks, Shawn