In Apache Solr, setting a unique key is not mandatory. However, not setting a unique key will result in various functional limitations when operating the search engine. Additionally, since KandaSearch UI assumes that a unique key is set, please make sure to configure a unique key.