CREATE SPACE nba(partition_num=15, replica_factor=3, vid_type=fixed_string(30));
USE nba;
SIGN IN TEXT SERVICE (xxxx);
ADD LISTENER ELASTICSEARCH xxx;
CREATE TAG player(name string, team string, age int);
CREATE FULLTEXT TAG INDEX nebula_player_name ON player(name);
此时显示创建全文索引成功,像这个索引插入数据,es上能看到产生了索引并生成了数据。
再建一个不同space,执行相同操作
CREATE SPACE nba1(partition_num=15, replica_factor=3, vid_type=fixed_string(30));
USE nba1;
SIGN IN TEXT SERVICE (xxxx);
ADD LISTENER ELASTICSEARCH xxx;
CREATE TAG player(name string, team string, age int);
CREATE FULLTEXT TAG INDEX nebula_player_name1 ON player(name);
此时创建全文索引报错显示Existed!
metad报错日志:
E0117 12:22:48.959836 12834 FTIndexProcessor.cpp:104] Depends on the same schema , index : nebula_player_name
if (index.get_depend_schema() == indexItem.get_depend_schema()) {
LOG(ERROR) << "Depends on the same schema , index : " << indexName;
handleErrorCode(nebula::cpp2::ErrorCode::E_EXISTED);
onFinished();
return;
}
nba这个space下的player的SchemaID
和
nba1这个space下的player的SchemaID,不是应该不相同吗?