這是我的models.py樣子: from django.db import models
from django.core.validators import RegexValidator
# Create your models here.
class Customer(models.Model):
customer_id = models.Auto
我有3個表: class_a CREATE TABLE class_a (
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
std_id INT NOT NULL UNIQUE,
name varchar(225) NOT NULL)
class_b CREATE TABLE class_b (
id IN
我需要在solr集合中創建多個唯一鍵,並回答相關問題Solr Composite Unique key from existing fields in schema。但我需要這個鍵是可讀的,現在我看到了哈希。我加入到: solrconfig.xml: <config>
<!-- Here is standart config -->
...
<!-- My updat