solr error caused by NumFieldLimitingUpdateRequestProcessorFactory
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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