Skip to content

Commit 7846ee9

Browse files
authored
Merge pull request #3217 from ClickHouse/if_search
If search
2 parents b4a9296 + 837d23c commit 7846ee9

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

.github/workflows/build-search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: yarn copy-clickhouse-repo-docs
3232

3333
- name: Run Auto Generate Settings
34-
run: yarn auto-generate-settings
34+
run: yarn autogenerate-settings
3535

3636
- name: Run Indexer
3737
run: yarn run-indexer

scripts/search/results.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,5 @@ max_bytes_before_external_group_by,https://clickhouse.com/docs/en/operations/set
210210
max_bytes_before_external_sort,https://clickhouse.com/docs/en/operations/settings/settings#max_bytes_before_external_sort,,
211211
result_overflow_mode,https://clickhouse.com/docs/en/operations/settings/settings#result_overflow_mode,,
212212
use_query_cache,https://clickhouse.com/docs/en/operations/settings/settings#use_query_cache,,
213-
date time best effort,https://clickhouse.com/docs/en/sql-reference/functions/type-conversion-functions#parsedatetimebesteffortusorzero,https://clickhouse.com/docs/en/sql-reference/functions/type-conversion-functions#parsedatetimebesteffort
213+
date time best effort,https://clickhouse.com/docs/en/sql-reference/functions/type-conversion-functions#parsedatetimebesteffortusorzero,https://clickhouse.com/docs/en/sql-reference/functions/type-conversion-functions#parsedatetimebesteffort
214+
if,https://clickhouse.com/docs/en/sql-reference/functions/conditional-functions,,

scripts/search/settings.json

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,27 @@
7272
"rules": [
7373
{
7474
"_metadata": {
75-
"lastUpdate": 1737830555
75+
"lastUpdate": 1738846936
76+
},
77+
"conditions": [
78+
{
79+
"anchoring": "is",
80+
"pattern": "if",
81+
"alternatives": true
82+
}
83+
],
84+
"consequence": {
85+
"params": {
86+
"query": "conditional functions"
87+
},
88+
"filterPromotes": true
89+
},
90+
"enabled": true,
91+
"objectID": "qr-1738846919179"
92+
},
93+
{
94+
"_metadata": {
95+
"lastUpdate": 1738782292
7696
},
7797
"conditions": [
7898
{
@@ -92,7 +112,7 @@
92112
},
93113
{
94114
"_metadata": {
95-
"lastUpdate": 1737830523
115+
"lastUpdate": 1738782292
96116
},
97117
"conditions": [
98118
{
@@ -112,7 +132,7 @@
112132
},
113133
{
114134
"_metadata": {
115-
"lastUpdate": 1737830497
135+
"lastUpdate": 1738782292
116136
},
117137
"conditions": [
118138
{
@@ -132,7 +152,7 @@
132152
},
133153
{
134154
"_metadata": {
135-
"lastUpdate": 1737830415
155+
"lastUpdate": 1738782292
136156
},
137157
"conditions": [
138158
{
@@ -152,7 +172,7 @@
152172
},
153173
{
154174
"_metadata": {
155-
"lastUpdate": 1737830346
175+
"lastUpdate": 1738782292
156176
},
157177
"conditions": [
158178
{
@@ -172,7 +192,7 @@
172192
},
173193
{
174194
"_metadata": {
175-
"lastUpdate": 1737830346
195+
"lastUpdate": 1738782292
176196
},
177197
"conditions": [
178198
{
@@ -192,7 +212,7 @@
192212
},
193213
{
194214
"_metadata": {
195-
"lastUpdate": 1737830346
215+
"lastUpdate": 1738782292
196216
},
197217
"conditions": [
198218
{
@@ -212,7 +232,7 @@
212232
},
213233
{
214234
"_metadata": {
215-
"lastUpdate": 1737830346
235+
"lastUpdate": 1738782292
216236
},
217237
"conditions": [
218238
{
@@ -232,7 +252,7 @@
232252
},
233253
{
234254
"_metadata": {
235-
"lastUpdate": 1737830346
255+
"lastUpdate": 1738782292
236256
},
237257
"conditions": [
238258
{

0 commit comments

Comments
 (0)