Skip to content

Commit

Permalink
Doris doc (apache#31099)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyman-zhao authored Feb 19, 2024
1 parent c9dcd5a commit b027c72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ example:

<version since="1.2">

2. Support using temporary security credentials to access object stores that support the S3 protocol:
2. Support using temporary security credentials to access object storage that support the S3 protocol:

```
WITH S3
Expand Down
4 changes: 2 additions & 2 deletions docs/en/docs/data-table/best-practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ In business, most users will choose to partition on time, which has the followin

1.3.1.2. List Partitioning

In business,, users can select cities or other enumeration values for partition.
In business, users can select cities or other enumeration values for partition.

1.3.2. Hash Bucketing

Expand Down Expand Up @@ -179,4 +179,4 @@ Users can modify the Schema of an existing table through the Schema Change opera
- Reorder columns
- Adding or removing index

For details, please refer to [Schema Change](../advanced/alter-table/schema-change.md)
For details, please refer to [Schema Change](../advanced/alter-table/schema-change.md)
6 changes: 3 additions & 3 deletions docs/en/docs/data-table/index/inverted-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ From version 2.0.0, Doris implemented inverted index to support fulltext search

## Glossary

- [inverted index](https://en.wikipedia.org/wiki/Inverted_index) is a index techlogy used in information retirval commonly. It split text into word terms and construct a term to doc index. This index is called inverted index and can be used to find the docs where a specific term appears.
- [inverted index](https://en.wikipedia.org/wiki/Inverted_index) is a index techlogy used in information retrieval commonly. It split text into word terms and construct a term to doc index. This index is called inverted index and can be used to find the docs where a specific term appears.


## Basic Principles
Expand Down Expand Up @@ -353,7 +353,7 @@ mysql> SELECT count() FROM hackernews_1m WHERE comment MATCH_ANY 'OLAP';
1 row in set (0.02 sec)
```
- Semilarly, count on 'OLTP' shows 0.07s vs 0.01s. Due to the cache in Doris, both LIKE and MATCH_ANY is faster, but there is still 7x speedup.
- Similarly, count on 'OLTP' shows 0.07s vs 0.01s. Due to the cache in Doris, both LIKE and MATCH_ANY is faster, but there is still 7x speedup.
```sql
mysql> SELECT count() FROM hackernews_1m WHERE comment LIKE '%OLTP%';
+---------+
Expand Down Expand Up @@ -394,7 +394,7 @@ mysql> SELECT count() FROM hackernews_1m WHERE comment MATCH_ALL 'OLAP OLTP';
```
- search for at least one of 'OLAP' or 'OLTP', 0.12s vs 0.01s,12x speedup
- using MATCH_ALL if you only need at least one of the keywords appears
- using MATCH_ANY if you only need at least one of the keywords appears
```sql
mysql> SELECT count() FROM hackernews_1m WHERE comment LIKE '%OLAP%' OR comment LIKE '%OLTP%';
+---------+
Expand Down

0 comments on commit b027c72

Please sign in to comment.