Navigation Menu

Skip to content

Commit

Permalink
test: fix to add "WITH_SECTION" when performing a full-text search on…
Browse files Browse the repository at this point in the history
… vector columns.

Because begin to occur error when a full-text search for vector column
if we don't set "WITH_SECTION" flag.
  • Loading branch information
komainu8 committed Jun 20, 2018
1 parent 10d7e24 commit 755e483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/core/test-command-select.c
Expand Up @@ -162,7 +162,7 @@ test_vector_text(void)
"TABLE_PAT_KEY|KEY_NORMALIZE ShortText "
"--default_tokenizer TokenBigram");
assert_send_command("column_create Terms Blogs_articles "
"COLUMN_INDEX|WITH_POSITION Blogs articles");
"COLUMN_INDEX|WITH_POSITION|WITH_SECTION Blogs articles");

assert_send_command("load --table Blogs --columns '_key, articles' \n"
"[\n"
Expand Down

0 comments on commit 755e483

Please sign in to comment.