2021-07-07 15:54:21 +00:00
<test >
2021-07-30 15:25:51 +00:00
<settings >
<allow_experimental_nlp_functions > 1</allow_experimental_nlp_functions>
</settings>
2021-07-07 15:54:21 +00:00
<create_query > CREATE TABLE hits_100m_words (words Array(String), UserID UInt64) ENGINE Memory</create_query>
2021-08-05 11:01:21 +00:00
<fill_query > INSERT INTO hits_100m_words SELECT splitByNonAlpha(SearchPhrase) AS words, UserID FROM hits_100m_single WHERE length(words) > 0</fill_query>
2021-07-07 15:54:21 +00:00
2021-08-05 11:01:21 +00:00
<query > SELECT splitByNonAlpha(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
<query > SELECT splitByWhitespace(SearchPhrase) FROM hits_100m_single FORMAT Null</query>
2021-07-07 15:54:21 +00:00
<query > SELECT arrayMap(x -> stem('ru', x), words) FROM hits_100m_words FORMAT Null</query>
<drop_query > DROP TABLE IF EXISTS hits_100m_words</drop_query>
<drop_query > DROP TABLE IF EXISTS hits_100m_words_ws</drop_query>
2021-07-30 15:25:51 +00:00
</test>