solrmarc / solrmarc

SolrMarc is a utility that reads in MARC records, extracts information from various fields as specified in an indexing specification, and sends that information to a specified Apache Solr index.
Apache License 2.0
40 stars 22 forks source link

Spelling and Solr 8.4.1 #89

Open VK2BEA opened 4 years ago

VK2BEA commented 4 years ago

I've using the VuFind schema for the biblio core through several versions of Solr without issue but have encountered a problem with 8.4.1.

The spelling and spellingShingle indexes do not seem to be built on optimization. This has worked up to and including Solr 8.0.0 but does not on subsequent versions. Optimize command to the Solr core returns very quickly but does not build the spelling indexes:

$ curl 'http://localhost:8088/solr/biblio/update?optimize=true'
{
  "responseHeader":{
    "status":0,
    "QTime":0}
}

I can add ... <str name="buildOnCommit">true</str> to ensure the spelling index is built on each update but this is frowned upon in the Solr documentation (although I don't perceive a performance hit).

I can't see anything in the Solr change documentation applicable to this. Does anyone know what might be at play ?

demiankatz commented 1 year ago

@VK2BEA, I'm seeing this issue for the first time -- I don't closely monitor SolrMarc issues, and I can't remember if this was brought up in the VuFind community. Is this still a problem for you? Did you find a solution? I'm happy to investigate if it's still an issue, but we should close this (and document a solution) if it has been solved.