向量数据库VikingDB
使用文本模式搜索资源内容。
ov grep <pattern> [options]
参数
必填
说明
默认值
<pattern>
是
要搜索的文本模式
-u, --uri <uri>
否
搜索根 URI
viking://
-i, --ignore-case
不区分大小写匹配
-n, --node-limit <n>
最大结果数量
256
-x, --exclude-uri <uri>
跳过该 URI 前缀下的匹配
-L, --level-limit <n>
最大遍历深度
10
ov grep "TODO" -u viking://projects/acme -i
找到匹配后,可以:
ov read <uri>