Skip to content

Conversation

@Mryange
Copy link
Contributor

@Mryange Mryange commented Jul 23, 2024

Copy link
Contributor

@luzhijing luzhijing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add it in branch-3.0

HappenLee pushed a commit to apache/doris that referenced this pull request Jul 26, 2024
mysql [test]>select ngram_search('123456789' , '12345' , 3);
+---------------------------------------+
| ngram_search('123456789', '12345', 3) |
+---------------------------------------+
|                                   0.6 |
+---------------------------------------+
1 row in set (0.01 sec)

mysql [test]>select ngram_search("abababab","babababa",2);
+-----------------------------------------+
| ngram_search('abababab', 'babababa', 2) |
+-----------------------------------------+
|                                       1 |
+-----------------------------------------+
1 row in set (0.01 sec)
```

doc apache/doris-website#899
Copy link
Contributor

@luzhijing luzhijing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KassieZ KassieZ added bug Something is incorrect and removed Reviewed labels Aug 30, 2024
@Mryange
Copy link
Contributor Author

Mryange commented Sep 3, 2024

run buildall

Mryange added a commit to Mryange/doris that referenced this pull request Sep 18, 2024
mysql [test]>select ngram_search('123456789' , '12345' , 3);
+---------------------------------------+
| ngram_search('123456789', '12345', 3) |
+---------------------------------------+
|                                   0.6 |
+---------------------------------------+
1 row in set (0.01 sec)

mysql [test]>select ngram_search("abababab","babababa",2);
+-----------------------------------------+
| ngram_search('abababab', 'babababa', 2) |
+-----------------------------------------+
|                                       1 |
+-----------------------------------------+
1 row in set (0.01 sec)
```

doc apache/doris-website#899
Mryange added a commit to Mryange/doris that referenced this pull request Sep 18, 2024
mysql [test]>select ngram_search('123456789' , '12345' , 3);
+---------------------------------------+
| ngram_search('123456789', '12345', 3) |
+---------------------------------------+
|                                   0.6 |
+---------------------------------------+
1 row in set (0.01 sec)

mysql [test]>select ngram_search("abababab","babababa",2);
+-----------------------------------------+
| ngram_search('abababab', 'babababa', 2) |
+-----------------------------------------+
|                                       1 |
+-----------------------------------------+
1 row in set (0.01 sec)
```

doc apache/doris-website#899
yiguolei pushed a commit to apache/doris that referenced this pull request Sep 21, 2024
#38226 
mysql [test]>select ngram_search('123456789' , '12345' , 3);
+---------------------------------------+
| ngram_search('123456789', '12345', 3) |
+---------------------------------------+
|                                   0.6 |
+---------------------------------------+
1 row in set (0.01 sec)

mysql [test]>select ngram_search("abababab","babababa",2);
+-----------------------------------------+
| ngram_search('abababab', 'babababa', 2) |
+-----------------------------------------+
|                                       1 |
+-----------------------------------------+
1 row in set (0.01 sec)
```

doc apache/doris-website#899

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
@Mryange
Copy link
Contributor Author

Mryange commented Sep 26, 2024

run buildall

@Mryange Mryange force-pushed the ngram_search branch 2 times, most recently from 5849fe3 to f506ac9 Compare September 26, 2024 10:37
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add code block when use numeric expression.
image

@KassieZ KassieZ added Reviewed and removed bug Something is incorrect labels Sep 26, 2024
@morningman morningman merged commit e676a91 into apache:master Sep 27, 2024
dataroaring pushed a commit to apache/doris that referenced this pull request Oct 9, 2024
mysql [test]>select ngram_search('123456789' , '12345' , 3);
+---------------------------------------+
| ngram_search('123456789', '12345', 3) |
+---------------------------------------+
|                                   0.6 |
+---------------------------------------+
1 row in set (0.01 sec)

mysql [test]>select ngram_search("abababab","babababa",2);
+-----------------------------------------+
| ngram_search('abababab', 'babababa', 2) |
+-----------------------------------------+
|                                       1 |
+-----------------------------------------+
1 row in set (0.01 sec)
```

doc apache/doris-website#899
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants