testIllegalSimilarityFunctionChangeViaAddIndexesDirectory