I have a page with attachments of multiple mime-types and I get an error while indexing it :
Message: Solr client indexing error caused by the following errors: {error-class=org.apache.solr.common.SolrException,root-error-class=org.apache.solr.common.SolrException}
Please check the Solr logs for more details.
Location: org.ametys.cms.search.solr.AbstractAmetysConcurrentUpdateClient.handleError(AbstractAmetysConcurrentUpdateClient.java:93)
Thrown:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8984/solr: Bad Request
request: http://localhost:8984/solr/intranet-live/update?update.chain=noAutoCommit&wt=javabin&version=2
Remote error message: ERROR: [doc=page://151f2461-0627-4efe-8788-3b221e2027de] multiple values encountered for non multiValued field resource-mimeTypeGroup: [image, image, image, text, pdf]
at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.sendUpdateStream(ConcurrentUpdateSolrClient.java:392)
at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.run(ConcurrentUpdateSolrClient.java:190)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:210)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Note that this page is available on the english sitemap of demo data.
- Référence
-
CMS-10310 [New search service] Criterion 'Format of resource' is not optimized
-
- Closed
-