entries = _FT_TOKENS.args(NAME, "a");
query("count(" + entries + ')', 2);
}
@Test
public void tokenize() {
<BUG>query(_FT_TOKENIZE.args("A bc"), "a bc");
query("declare ft-option using stemming; " + _FT_TOKENIZE.args("Gifts"), "gift");</BUG>
query("count(" + _FT_TOKENIZE.args("") + ')', "0");
query("count(" + _FT_TOKENIZE.args("a!b:c") + ')', "3");
}

entries = _FT_TOKENS.args(NAME, "a");
query("count(" + entries + ')', 2);
}
@Test
public void tokenize() {
query(_FT_TOKENIZE.args("A bc"), "a bc");
query(_FT_TOKENIZE.args("A bc", " map { 'case': 'sensitive' }"), "A bc");
query(_FT_TOKENIZE.args("\u00e4", " map { 'diacritics': 'sensitive' }"), "\u00e4");
query(_FT_TOKENIZE.args("gifts", " map { 'stemming': 'true' }"), "gift");
query("declare ft-option using stemming; " + _FT_TOKENIZE.args("Gifts"), "gift");
query("count(" + _FT_TOKENIZE.args("") + ')', "0");
query("count(" + _FT_TOKENIZE.args("a!b:c") + ')', "3");
