IQSS / IQSS/dataverse

solr error caused by NumFieldLimitingUpdateRequestProcessorFactory

Open
#11,322 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

I am trying to install Dataverse from current development branch on my development machine. I am following the instructions from Classic Installation of developer guide.
I am using solr 9.4.1. Upon creation of collection1 I get and error:

ERROR: Error from server at http://localhost:8983/solr/admin/cores?action=CREATE&name=collection1&instanceDir=collection1&wt=javabin&version=2: Error CREATEing SolrCore 'collection1': Unable to create core [collection1] Caused by: solr.NumFieldLimitingUpdateRequestProcessorFactory

If I comment out from solrconfig.xml
<updateProcessor class="solr.NumFieldLimitingUpdateRequestProcessorFactory" name="max-fields"> <int name="maxFields">1000</int> <bool name="warnOnly">true</bool> </updateProcessor>
and also remove max-fields from updateRequestProcessorChain then the solr creates collection1 without error and it seems to work with dataverse.

I am using Ubuntu 24.04 in WSL

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with solrconfig.xml, especially the NumFieldLimitingUpdateRequestProcessorFactory entry and its max-fields reference in updateRequestProcessorChain. Reproduce collection1 creation with Solr 9.4.1, then determine the compatible configuration; done means the collection is created without the error while the field-limiting processor remains correctly configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, xml
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.