IBM Support

Bad request for SOLR build index

Technote (troubleshooting)

This document applies only to the following language version(s):



During the SOLR build index process (di-buildindex utility), bad request errors occur when building the index for non-English languages.


In the wc-dataimport-buildindex.log file, there is an "Error 400: Missing SOLR core name in path" message, with the following bad request stack error:

INFO: Data import process was unsuccessful. An unrecoverable error has occurred.
Throwable occurred: org.apache.solr.common.SolrException: Bad Request

Bad Request

request: http://localhost/solr/MC_10351_CatalogEntry_Unstructured_zh_CN/dataimport
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(


The store only supports index building for English by default. Non-English language support must be added to the store manually by updating the storelang table.

Resolving the problem

Update the storelang table in the database, inserting the necessary languages for the store. Re-run the setupSearchIndex utility to generate the corresponding directories under the SOLR home directory. Then, build the index for the non-English languages.

Related information

A simplified Chinese translation is available

Document information

More support for: WebSphere Commerce Enterprise

Software version: 7.0

Operating system(s): AIX, Linux, Windows

Software edition: All Editions

Reference #: 1622509

Modified date: 18 February 2013

Translate this page: