Skip to content

Commit

Permalink
docs: add fulltext search to quick-start (#1063)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
  • Loading branch information
zhongzc committed Jul 16, 2024
1 parent c7b4f8a commit 80b8082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/nightly/en/user-guide/logs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ psql -h 127.0.0.1 -p 4003 -d public
You can query the log table using SQL:

```sql
SELECT * FROM public.logs;
SELECT * FROM public.logs WHERE MATCHES(log, 'sendTextDataToCluster');
```

The query result is as follows:
Expand All @@ -178,6 +178,7 @@ The query result is as follows:
```

As you can see, the logs have been stored as structured logs after applying type conversions using the pipeline. This provides convenience for further querying and analysis of the logs.
Please refer to [Query Log](query-logs.md) for the specific syntax of querying logs.

## Conclusion

Expand Down
3 changes: 2 additions & 1 deletion docs/nightly/zh/user-guide/logs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ psql -h 127.0.0.1 -p 4003 -d public
可通过 SQL 查询日志表:

```sql
SELECT * FROM public.logs;
SELECT * FROM public.logs WHERE MATCHES(log, 'sendTextDataToCluster');
```

查询结果如下:
Expand All @@ -179,6 +179,7 @@ SELECT * FROM public.logs;
```

可以看出,通过 Pipeline 将 Log 进行类型转换后存储为结构化的日志,为日志的进一步查询和分析带来了便利。
请参阅[查询日志](query-logs.md)以了解查询日志的具体语法。

## 结语

Expand Down

0 comments on commit 80b8082

Please sign in to comment.