Cannot change DocValues type from SORTED_SET to BINARY

Pls tell why this error occured

how to diagonose and rectify

cannot change DocValues type from SORTED_SET to BINARY

Please keep it to one thread: Java.lang.IllegalArgumentException: cannot change DocValues type from SORTED_SET to BINARY for field "xxxxxxx" can cause node crash /index corruption