Try our conversational search powered by Generative AI!

400 Bad Request on clear index after upgrade



After upgrading EPiServer.Framework from 9.5.0 to 10.10.4 and EPiServer.Find from to 12.6.1 we can't clear the Find index.

When I'm trying to clear our index from the editor mode I get an error saying "Unable to load /episerver/Find/proxy/_clear?clear_index=true&clear_stats=false status: 400".

After looking closer in the logs from our on-premise Find installation, this is the exact error from elasticsearch:

[2017-10-27 10:01:57,294][DEBUG][action.index             ] [ElectroCute] [my_index][3], node[MZVkl9ShQ2Op2mS2QtowqQ], [P], s[STARTED]: Failed to execute [index {[my_index][_clear][xmWM6b5YReKe7zoDsYv40Q], source[_na_]}]
org.elasticsearch.indices.InvalidTypeNameException: mapping type name [_clear] can't start with '_'
	at org.elasticsearch.index.mapper.MapperService.add(
	at org.elasticsearch.index.mapper.MapperService.add(
	at org.elasticsearch.index.mapper.MapperService.documentMapperWithAutoCreate(
	at org.elasticsearch.index.shard.service.InternalIndexShard.prepareCreate(
	at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$ Source)
	at Source)

Note that this does not happen when I try with a Find index hosted by EPi, this is only for our on-premise solution.

Edited, Oct 27, 2017 12:54
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.