Problem/Motivation

When I go through the installation process and create a config.zip, I run into the problem that the en-sent.bin file is not included. When I restart Solr with the new conf directory, I get complaints:


first_solr_core: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core first_solr_core: Can't load schema /var/solr/data/first_solr_core/conf/schema.xml: org.apache.solr.core.SolrResourceNotFoundException: Can't find resource 'en-sent.bin' in classpath or '/var/solr/data/first_solr_core'

Any ideas on where to find this file?

Thanks!

Comments

bogdog400 created an issue. See original summary.

bogdog400’s picture

After a bit of poking around, I was able to download a bunch of .bin files from the OpenNLP website:

https://opennlp.sourceforge.net/models-1.5/

The page here (https://opennlp.apache.org/models.html) suggests that models version 1.5 should work. I've uploaded them into the /var/solr/data//conf directory and Solr restart just fine.

mkalkbrenner’s picture

It seems that there's an issue that the *.bin files aren't picked up anymore when creating the zip. Maybe caused by a third party lib we use. I need to verify this.

mkalkbrenner’s picture

Title: Finding en-sent.bin » Convert hooks into events to add model files
Version: 1.1.5 » 1.1.x-dev
Priority: Normal » Critical

  • mkalkbrenner committed ff0cea16 on 1.1.x
    Issue #3449073: Convert hooks into events to add model files
    
mkalkbrenner’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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