2021-05-26 13:30:43 +00:00
<test >
2019-01-14 15:54:47 +00:00
<tags >
<tag > search</tag>
</tags>
<preconditions >
<table_exists > hits_100m_single</table_exists>
2020-10-20 12:12:06 +00:00
<table_exists > hits_10m_single</table_exists>
2019-01-14 15:54:47 +00:00
</preconditions>
2019-05-05 09:27:18 +00:00
<query > <![CDATA[SELECT count() FROM hits_100m_single WHERE match(URL, ' *tranio\\.ru/spain/*/commercial/*') settings max_threads=5]]> </query>
2022-04-12 13:22:00 +00:00
<query > <![CDATA[select countIf(position(URL, 'yandex') > 0), count(position(URL, 'google')) FROM hits_100m_single]]> </query>
<query > <![CDATA[select countIf(multiSearchAllPositions(URL, ['yandex', 'google'])) FROM hits_100m_single]]> </query>
<query > <![CDATA[select countIf(match(URL, 'yandex|google')) FROM hits_10m_single]]> </query>
<query > <![CDATA[select countIf(multiMatchAny(URL, ['yandex', 'google'])) FROM hits_100m_single]]> </query>
2019-01-14 15:54:47 +00:00
<query > <![CDATA[select sum(match(URL, 'yandex')), sum(match(URL, 'google')), sum(match(URL, 'yahoo')), sum(match(URL, 'pikabu')) FROM hits_100m_single]]> </query>
2019-03-23 22:49:38 +00:00
<query > <![CDATA[select sum(multiSearchAny(URL, ['yandex', 'google', 'yahoo', 'pikabu'])) from hits_100m_single]]> </query>
<query > <![CDATA[select sum(multiMatchAny(URL, ['yandex', 'google', 'yahoo', 'pikabu'])) from hits_100m_single]]> </query>
2020-11-09 16:14:05 +00:00
<query > <![CDATA[select sum(match(URL, 'yandex|google|yahoo|pikabu')) FROM hits_10m_single]]> </query>
2019-01-14 15:54:47 +00:00
<query > <![CDATA[select sum(match(URL, 'yandex')), sum(match(URL, 'google')), sum(match(URL, 'http')) FROM hits_100m_single]]> </query>
2019-03-23 22:49:38 +00:00
<query > <![CDATA[select sum(multiSearchAny(URL, ['yandex', 'google', 'http'])) from hits_100m_single]]> </query>
<query > <![CDATA[select sum(multiMatchAny(URL, ['yandex', 'google', 'http'])) from hits_100m_single]]> </query>
2019-01-14 15:54:47 +00:00
<query > <![CDATA[select sum(match(URL, 'yandex|google|http')) FROM hits_100m_single]]> </query>
<query > <![CDATA[select sum(match(URL, 'yandex')), sum(match(URL, 'google')), sum(match(URL, 'facebook')), sum(match(URL, 'wikipedia')), sum(match(URL, 'reddit')) FROM hits_100m_single]]> </query>
2019-03-23 22:49:38 +00:00
<query > <![CDATA[select sum(multiSearchAny(URL, ['yandex', 'google', 'facebook', 'wikipedia', 'reddit'])) from hits_100m_single]]> </query>
<query > <![CDATA[select sum(multiMatchAny(URL, ['yandex', 'google', 'facebook', 'wikipedia', 'reddit'])) from hits_100m_single]]> </query>
2020-11-09 16:14:05 +00:00
<query > <![CDATA[select sum(match(URL, 'yandex|google|facebook|wikipedia|reddit')) FROM hits_10m_single]]> </query>
2019-01-14 15:54:47 +00:00
2019-03-23 22:49:38 +00:00
<query > <![CDATA[select sum(multiSearchFirstIndex(URL, ['yandex', 'google', 'http', 'facebook', 'google'])) from hits_100m_single]]> </query>
2019-01-14 15:54:47 +00:00
2019-03-23 22:49:38 +00:00
<query > <![CDATA[SELECT count() FROM hits_100m_single WHERE multiMatchAny(URL, ['about/address', 'for_woman', '^https?://lm-company.ruy/$', 'ultimateguitar.com'])]]> </query>
2020-11-09 16:14:05 +00:00
<query > <![CDATA[SELECT count() FROM hits_10m_single WHERE match(URL, 'about/address|for_woman|^https?://lm-company.ruy/$|ultimateguitar.com')]]> </query>
2019-03-23 19:40:16 +00:00
2020-10-20 12:12:06 +00:00
<query > <![CDATA[SELECT count() FROM hits_10m_single WHERE match(URL, 'chelyabinsk.74.ru|doctor.74.ru|transport.74.ru|m.74.ru|//74.ru/|chel.74.ru|afisha.74.ru|diplom.74.ru|chelfin.ru|//chel.ru|chelyabinsk.ru|cheldoctor.ru|//mychel.ru|cheldiplom.ru|74.ru/video|market|poll|mail|conference|consult|contest|tags|feedback|pages|text')]]> </query>
2019-03-24 21:47:34 +00:00
<query > <![CDATA[SELECT count() FROM hits_100m_single WHERE multiMatchAny(URL, ['chelyabinsk.74.ru', 'doctor.74.ru', 'transport.74.ru', 'm.74.ru', '//74.ru/', 'chel.74.ru', 'afisha.74.ru', 'diplom.74.ru', 'chelfin.ru', '//chel.ru', 'chelyabinsk.ru', 'cheldoctor.ru', '//mychel.ru', 'cheldiplom.ru', '74.ru/video', 'market', 'poll', 'mail', 'conference', 'consult', 'contest', 'tags', 'feedback', 'pages', 'text'])]]> </query>
2020-11-09 16:14:05 +00:00
<query > <![CDATA[SELECT count() FROM hits_10m_single WHERE multiMatchAny(URL, ['chelyabinsk\\.74\\.ru', 'doctor\\.74\\.ru', 'transport\\.74\\.ru', 'm\\.74\\.ru', '//74\\.ru/', 'chel\\.74\\.ru', 'afisha\\.74\\.ru', 'diplom\\.74\\.ru', 'chelfin\\.ru', '//chel\\.ru', 'chelyabinsk\\.ru', 'cheldoctor\\.ru', '//mychel\\.ru', 'cheldiplom\\.ru', '74\\.ru/video', 'market', 'poll', 'mail', 'conference', 'consult', 'contest', 'tags', 'feedback', 'pages', 'text'])]]> </query>
<query > <![CDATA[SELECT count() FROM hits_10m_single WHERE multiSearchAny(URL, ['chelyabinsk.74.ru', 'doctor.74.ru', 'transport.74.ru', 'm.74.ru', '//74.ru/', 'chel.74.ru', 'afisha.74.ru', 'diplom.74.ru', 'chelfin.ru', '//chel.ru', 'chelyabinsk.ru', 'cheldoctor.ru', '//mychel.ru', 'cheldiplom.ru', '74.ru/video', 'market', 'poll', 'mail', 'conference', 'consult', 'contest', 'tags', 'feedback', 'pages', 'text'])]]> </query>
2019-03-24 21:47:34 +00:00
2019-03-29 01:27:17 +00:00
<query > <![CDATA[SELECT DISTINCT Title, multiFuzzyMatchAny(Title, 2, ['^metrika\\.ry$']) AS distance FROM hits_100m_single WHERE distance = 1]]> </query>
<query > <![CDATA[SELECT DISTINCT Title, multiFuzzyMatchAny(Title, 5, ['^metrika\\.ry$']) AS distance FROM hits_100m_single WHERE distance = 1]]> </query>
2020-12-23 02:40:55 +00:00
<query > <![CDATA[SELECT sum(multiFuzzyMatchAny(Title, 3, ['hello$', 'world$', '^hello'])) FROM (SELECT * FROM hits_100m_single LIMIT 50000000) FORMAT Null]]> </query>
2020-11-09 16:14:05 +00:00
<query > <![CDATA[SELECT count() FROM hits_10m_single WHERE multiFuzzyMatchAny(URL, 2, ['about/address', 'for_woman', '^https?://lm-company.ruy/$', 'ultimateguitar.com'])]]> </query>
2019-03-29 01:08:55 +00:00
2019-03-23 19:40:16 +00:00
2019-01-14 15:54:47 +00:00
</test>