|
@@ -48,6 +48,26 @@ public class SearchConstants {
|
|
|
*/
|
|
*/
|
|
|
public static final String COMPONENT_TABLE_NAME = "product$component";
|
|
public static final String COMPONENT_TABLE_NAME = "product$component";
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 商城销售订单表名
|
|
|
|
|
+ */
|
|
|
|
|
+ public static final String ORDER_TABLE_NAME = "trade$order";
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 商城销售订单的发货单表名
|
|
|
|
|
+ */
|
|
|
|
|
+ public static final String ORDER_INVOICE_TABLE_NAME = "trade$invoice_fmor";
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 商城采购订单表名
|
|
|
|
|
+ */
|
|
|
|
|
+ public static final String PURCHASE_TABLE_NAME = "trade$purchase";
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 商城采购订单的发货单表名
|
|
|
|
|
+ */
|
|
|
|
|
+ public static final String PURCHASE_INVOICE_TABLE_NAME = "trade$invoice_fmpu";
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 索引文件存储路径
|
|
* 索引文件存储路径
|
|
|
*/
|
|
*/
|
|
@@ -59,19 +79,25 @@ public class SearchConstants {
|
|
|
public static final String COMPONENT_WITH_PROPERTY_DIR = PathUtils.getFilePath() + "components";
|
|
public static final String COMPONENT_WITH_PROPERTY_DIR = PathUtils.getFilePath() + "components";
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 各索引字段的字符标示
|
|
|
|
|
|
|
+ * 类目索引字段的key
|
|
|
*/
|
|
*/
|
|
|
public static final String KIND_ID_FIELD = "ki_id";
|
|
public static final String KIND_ID_FIELD = "ki_id";
|
|
|
public static final String KIND_NAMECN_FIELD = "ki_name_cn";
|
|
public static final String KIND_NAMECN_FIELD = "ki_name_cn";
|
|
|
public static final String KIND_LEVEL_FIELD = "ki_level";
|
|
public static final String KIND_LEVEL_FIELD = "ki_level";
|
|
|
public static final String KIND_ISLEAF_FIELD = "ki_isleaf";
|
|
public static final String KIND_ISLEAF_FIELD = "ki_isleaf";
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 品牌索引字段的key
|
|
|
|
|
+ */
|
|
|
public static final String BRAND_ID_FIELD = "br_id";
|
|
public static final String BRAND_ID_FIELD = "br_id";
|
|
|
public static final String BRAND_NAMECN_FIELD = "br_name_cn";
|
|
public static final String BRAND_NAMECN_FIELD = "br_name_cn";
|
|
|
public static final String BRAND_NAMEEN_FIELD = "br_name_en";
|
|
public static final String BRAND_NAMEEN_FIELD = "br_name_en";
|
|
|
public static final String BRAND_UUID_FIELD = "br_uuid";
|
|
public static final String BRAND_UUID_FIELD = "br_uuid";
|
|
|
public static final String BRAND_WEIGHT_FIELD = "br_weight";
|
|
public static final String BRAND_WEIGHT_FIELD = "br_weight";
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 器件索引字段的key
|
|
|
|
|
+ */
|
|
|
public static final String COMPONENT_ID_FIELD = "cmp_id";
|
|
public static final String COMPONENT_ID_FIELD = "cmp_id";
|
|
|
public static final String COMPONENT_UUID_FIELD = "cmp_uuid";
|
|
public static final String COMPONENT_UUID_FIELD = "cmp_uuid";
|
|
|
public static final String COMPONENT_CODE_FIELD = "cmp_code";
|
|
public static final String COMPONENT_CODE_FIELD = "cmp_code";
|
|
@@ -89,5 +115,20 @@ public class SearchConstants {
|
|
|
* 另外创建的经过分词的属性值,添加后缀作为Field的键
|
|
* 另外创建的经过分词的属性值,添加后缀作为Field的键
|
|
|
*/
|
|
*/
|
|
|
public static final String COMPONENT_PROPERTY_TOKENIZED_SUFFIX = "_tokenized";
|
|
public static final String COMPONENT_PROPERTY_TOKENIZED_SUFFIX = "_tokenized";
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 商城销售订单索引字段的key
|
|
|
|
|
+ */
|
|
|
|
|
+
|
|
|
|
|
+ public static final String ORDER_ID_FIELD = "or_id";// 对应销售单id(数据库id字段)
|
|
|
|
|
+ public static final String ORDER_ORDER_ID_FIELD = "or_orid";// 对应销售单号(数据库or_id字段)
|
|
|
|
|
+ public static final String ORDER_BUYER_USERUU_FIELD = "or_buyeruu";
|
|
|
|
|
+ public static final String ORDER_BUYER_USERNAME_FIELD = "or_buyername";
|
|
|
|
|
+ public static final String ORDER_BUYER_ENUU_FIELD = "or_buyerenuu";
|
|
|
|
|
+ public static final String ORDER_BUYER_ENNAME_FIELD = "or_buyerenname";
|
|
|
|
|
+ public static final String ORDER_SELLER_ENUU_FIELD = "or_sellerenuu";
|
|
|
|
|
+ public static final String ORDER_SELLER_ENNAME_FIELD = "or_sellerenname";
|
|
|
|
|
+ public static final String ORDER_CREATE_TIME_FIELD = "or_creattime";
|
|
|
|
|
|
|
|
}
|
|
}
|