Hello,

I use solr 5.5.1 and on Logging page I see warnings, related with deprecated configs:

WARN   null   Config   Solr no longer supports forceful unlocking via the 'unlockOnStartup' option. This is no longer neccessary for the default lockType except in situations where it would be dangerous and should not be done. For other lockTypes and/or directoryFactory options it may also be dangerous and users must resolve problematic locks manually.
WARN   null   Config   Beginning with Solr 5.5,​ <mergePolicy> is deprecated,​ use <mergePolicyFactory> instead.
WARN   null   Config   Beginning with Solr 5.5,​ <mergeFactor> is deprecated,​ configure it on the relevant <mergePolicyFactory> instead.

I tested this config on solr 5.5.0 and I see these warning too.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zestagio created an issue. See original summary.

zestagio’s picture

zestagio’s picture

Status: Active » Needs review
drunken monkey’s picture

Title: Warnings in solrconfig.xml for 5.x version » Warnings in solrconfig.xml for Solr 5.5+

The problem here is that Solr 5.5 introduced some changes that break backwards-compatibility, so we can't really have a set of configuration files that works for all 5.x versions (I think). Or does the <int name=mergeFactor> thing also work in earlier versions of Solr 5?
If not, then I'd just say we add to the README that we don't support Solr 5.5+ and try to add support for Solr 6 soon. We had the same for Solr 3, we didn't support 3.6 there, either.

zestagio’s picture

Looks, as the <int name=mergeFactor> not work in earlier versions of Solr 5.

If not, then I'd just say we add to the README that we don't support Solr 5.5+

In this case, I think, that it's solution

drunken monkey’s picture

Added it to the handbook page.

@ Apachesolr guys: Do you want to add such a warning, too, or should we mark this as "fixed"?