|
|
@@ -0,0 +1,51 @@
|
|
|
+
|
|
|
+delete 性能备份AaB from /test/性能AaB with version
|
|
|
+/**
|
|
|
+onerror(continue,`not exist`,`not find`,`not found`)
|
|
|
+**/
|
|
|
+;
|
|
|
+
|
|
|
+delete 性能AaB from /test/性能AaB with version
|
|
|
+/**
|
|
|
+onerror(continue,`not exist`,`not find`,`not found`)
|
|
|
+**/
|
|
|
+;
|
|
|
+
|
|
|
+delete from /test/性能AaB with version
|
|
|
+/**
|
|
|
+onerror(continue,`not exist`,`not find`,`not found`)
|
|
|
+**/
|
|
|
+;
|
|
|
+
|
|
|
+drop class if exists /test/性能AaB;
|
|
|
+
|
|
|
+create class if not exists /test/性能AaB (
|
|
|
+ 主机AaB varchar,
|
|
|
+ 性能备份AaB bucket {
|
|
|
+ "dict": true,
|
|
|
+ "slot": 5,
|
|
|
+ "ttl": 2,
|
|
|
+ "type": "promdb",
|
|
|
+ "version": 1
|
|
|
+ },
|
|
|
+ noindex varchar,
|
|
|
+ 性能AaB bucket {
|
|
|
+ "dict": true,
|
|
|
+ "slot": 5,
|
|
|
+ "ttl": 2,
|
|
|
+ "type": "promdb",
|
|
|
+ "version": 1
|
|
|
+ },
|
|
|
+ keys(主机AaB),
|
|
|
+ indexes(主机AaB )
|
|
|
+)with autosearch=true , version=false , key=manu, alias='性能测试' , nickname='性能AaB'
|
|
|
+;
|
|
|
+
|
|
|
+cql: select * from field where namespace='test' and name in ('主机aab','noindex')
|
|
|
+/**
|
|
|
+match("name", "主机aab", "isindex", 1)
|
|
|
+match("name", "noindex", "isindex", 0)
|
|
|
+**/
|
|
|
+;
|
|
|
+
|
|
|
+drop class if exists /test/性能AaB;
|