Skip to content

Commit

Permalink
test: make robust
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 4, 2019
1 parent c9b8fe6 commit f1a1ac5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Expand Up @@ -25,7 +25,7 @@ load --table Synonyms
["groonga storage engine", ["groonga storage engine", "mroonga"]]
]
[[0,0.0,0.0],1]
select --table Memos --query_expander Synonyms.words --match_columns content --query '"groonga storage engine"'
select --table Memos --query_expander Synonyms.words --match_columns content --query '"groonga storage engine"' --sort_keys -_score
[
[
0,
Expand All @@ -47,13 +47,13 @@ select --table Memos --query_expander Synonyms.words --match_columns content -
"ShortText"
]
],
[
2,
"Start mroonga!"
],
[
4,
"Setup groonga storage engine!"
],
[
2,
"Start mroonga!"
]
]
]
Expand Down
Expand Up @@ -22,5 +22,8 @@ load --table Synonyms
["groonga storage engine", ["groonga storage engine", "mroonga"]]
]

select --table Memos --query_expander Synonyms.words \
--match_columns content --query '"groonga storage engine"'
select \
--table Memos \
--query_expander Synonyms.words \
--match_columns content --query '"groonga storage engine"' \
--sort_keys -_score

0 comments on commit f1a1ac5

Please sign in to comment.