As of Apache Solr Search Intergration 7.x-1.1, the paths of the supplied config files have changed. Solr Config Generator cannot find the files and therefore generates a blank schema.xml and blank solrconfig.xml

I'll create a patch and upload it.

Comments

jongagne’s picture

Title: The downloaded schema.xml and solrconfig.xml are blank as of apachesolr 7.x-1.1 » Downloaded schema.xml and solrconfig.xml are blank as of apachesolr 7.x-1.1
jongagne’s picture

Here is the patch.

jongagne’s picture

Also, apachesolr_confgen_textfiles cannot find protwords.txt

jongagne’s picture

Here is a very simple patch to allow apachesolr_confgen_textfiles.variable.inc to find protwords.txt. A check for solr-1.4 and solr-3.x is not required because doing a diff on both version of protwords.txt shows that it is the same; therefore the patch just uses solr-conf/solr-3.x/protwords.txt

jongagne’s picture

Assigned: jongagne » Unassigned
Status: Active » Needs review
mkalkbrenner’s picture

Thanks. I'll have a look ...

jongagne’s picture

"Git apply" stated that the patch in Comment #2 was invalid. So to avoid having to copy the code in the patch manually, here is a new patch.

mkalkbrenner’s picture

Status: Needs review » Fixed
StatusFileSize
new1.03 KB

Fix committed to git.
But additionally we need another patch to fix the issue completely.

mkalkbrenner’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 3ed7d49 on 7.x-1.x, 6.x-1.x authored by jongagne, committed by mkalkbrenner:
    Issue #1860652 by jongagne: Fixed Downloaded schema.xml and solrconfig....
  • Commit 05eb9a6 on 7.x-1.x, 6.x-1.x by mkalkbrenner:
    [#1860652] jongagne, mkalkbrenner: Downloaded schema.xml and solrconfig....
  • Commit 48712af on 7.x-1.x, 6.x-1.x by mkalkbrenner:
    [#1860652] jongagne, mkalkbrenner: Downloaded schema.xml and solrconfig....