515 lines
10 KiB
JSON
515 lines
10 KiB
JSON
{
|
|
"tableDefine": [{
|
|
"appId": 10064,
|
|
"fieldDefine": [{
|
|
"fieldName": "doc_id",
|
|
"fieldType": 2,
|
|
"fieldId": 1,
|
|
"IsPrimaryKey": 1,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "source",
|
|
"fieldType": 1,
|
|
"fieldId": 2,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "style",
|
|
"fieldType": 1,
|
|
"fieldId": 3,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "sub_position",
|
|
"fieldType": 1,
|
|
"fieldId": 4,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "private_status",
|
|
"fieldType": 1,
|
|
"fieldId": 5,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "author_id",
|
|
"fieldType": 2,
|
|
"fieldId": 6,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "status",
|
|
"fieldType": 1,
|
|
"fieldId": 7,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "createtime",
|
|
"fieldType": 1,
|
|
"fieldId": 8,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "title",
|
|
"fieldType": 2,
|
|
"fieldId": 10,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "idx_author_title",
|
|
"fieldType": 11,
|
|
"fieldId": 11,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 0,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": "6,10"
|
|
}, {
|
|
"fieldName": "skus",
|
|
"fieldType": 2,
|
|
"fieldId": 12,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "to_audit",
|
|
"fieldType": 1,
|
|
"fieldId": 13,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "publishtime",
|
|
"fieldType": 1,
|
|
"fieldId": 14,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "last_modify_time",
|
|
"fieldType": 1,
|
|
"fieldId": 15,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "is_choice",
|
|
"fieldType": 1,
|
|
"fieldId": 16,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "recommend",
|
|
"fieldType": 1,
|
|
"fieldId": 17,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "video_flag",
|
|
"fieldType": 1,
|
|
"fieldId": 18,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "three_category",
|
|
"fieldType": 2,
|
|
"fieldId": 19,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "operator",
|
|
"fieldType": 2,
|
|
"fieldId": 20,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}]
|
|
},
|
|
{
|
|
"appId": 10010,
|
|
"fieldDefine": [{
|
|
"fieldName": "doc_id",
|
|
"fieldType": 2,
|
|
"fieldId": 0,
|
|
"IsPrimaryKey": 1,
|
|
"indexTag": 0,
|
|
"snapshotTag": 0,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "birthPlace",
|
|
"fieldType": 3,
|
|
"fieldId": 1,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "homeAddress",
|
|
"fieldType": 3,
|
|
"fieldId": 2,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "dreamPlace",
|
|
"fieldType": 2,
|
|
"fieldId": 3,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 3,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "name",
|
|
"fieldType": 2,
|
|
"fieldId": 4,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 4,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "gender",
|
|
"fieldType": 2,
|
|
"fieldId": 14,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "year",
|
|
"fieldType": 1,
|
|
"fieldId": 5,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 5,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "height",
|
|
"fieldType": 9,
|
|
"fieldId": 6,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "brithday",
|
|
"fieldType": 10,
|
|
"fieldId": 7,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 5,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "ip",
|
|
"fieldType": 4,
|
|
"fieldId": 8,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "currentLocation",
|
|
"fieldType": 5,
|
|
"fieldId": 9,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "preLocation",
|
|
"fieldType": 5,
|
|
"fieldId": 10,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "postLocation",
|
|
"fieldType": 5,
|
|
"fieldId": 11,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}, {
|
|
"fieldName": "currentShape",
|
|
"fieldType": 14,
|
|
"fieldId": 12,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
}]
|
|
},
|
|
{
|
|
"appId": 10008,
|
|
"fieldDefine": [{
|
|
"fieldName": "doc_id",
|
|
"fieldType": 2,
|
|
"fieldId": 0,
|
|
"IsPrimaryKey": 1,
|
|
"indexTag": 0,
|
|
"snapshotTag": 0,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "strTest1",
|
|
"fieldType": 3,
|
|
"fieldId": 1,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "strTest2",
|
|
"fieldType": 3,
|
|
"fieldId": 2,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 1,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "strTest3",
|
|
"fieldType": 2,
|
|
"fieldId": 3,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 3,
|
|
"segmentFeature": 2,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "strTest4",
|
|
"fieldType": 2,
|
|
"fieldId": 4,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 4,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "intTest",
|
|
"fieldType": 1,
|
|
"fieldId": 5,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 4,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "doubleTest",
|
|
"fieldType": 9,
|
|
"fieldId": 6,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "longTest",
|
|
"fieldType": 10,
|
|
"fieldId": 7,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "ipTest",
|
|
"fieldType": 4,
|
|
"fieldId": 8,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "geopointTest1",
|
|
"fieldType": 5,
|
|
"fieldId": 9,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "geopointTest2",
|
|
"fieldType": 5,
|
|
"fieldId": 10,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "geopointTest3",
|
|
"fieldType": 5,
|
|
"fieldId": 11,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "geoshapeTest",
|
|
"fieldType": 14,
|
|
"fieldId": 12,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 1,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": ""
|
|
},
|
|
{
|
|
"fieldName": "unionTest",
|
|
"fieldType": 11,
|
|
"fieldId": 13,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 0,
|
|
"snapshotTag": 0,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": "5,1,2"
|
|
},
|
|
{
|
|
"fieldName": "vectorTest",
|
|
"fieldType": 15,
|
|
"fieldId": 14,
|
|
"IsPrimaryKey": 0,
|
|
"indexTag": 1,
|
|
"snapshotTag": 0,
|
|
"segmentTag": 0,
|
|
"segmentFeature": 0,
|
|
"unionField": "",
|
|
"dim": 128,
|
|
"indexType": ["IVF128,PQ16", "IDMap,HNSW32,Flat", "IVF128,Flat"],
|
|
"indexDir": ["/tmp/trained_index.faissindex", "", "/tmp/ivfflat.faissindex"],
|
|
"searchIndexType": 1,
|
|
"metricType": "L2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |