You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 451d452
Browse filesBrowse the repository at this point in the historyBrowse files
fix(stack-encrypt): refuse invalid match options before a query cuts tokens
FieldPlan::new is public and does not check the MatchOptions of a match
output, so a plan built by hand can carry an n-gram length of zero. The
term derivation validates them, but check_query and query_term reach the
tokenizer first through check_input, and verify calls it directly, so
such a plan panicked in the tokenizer rather than returning
InvalidOptions. query_tokens now validates the options first.
0 commit comments