We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've consulted https://docs.rs/tantivy/latest/tantivy/query/struct.QueryParser.html, and it lists some valid search options, but it doesn't explain what the "syntax boundaries" are.
I don't know how to avoid SyntaxErrors when searching with,
{ 'occur': 'must', 'normal': { 'ctx': f'{fieldname}:{query}', }, }
invalid query: SyntaxError("comment:https://website.org")
invalid query: SyntaxError("comment:\nwords")
-
+
+ 2
2
\
So stripping non-alphanumerics from the front and end of strings isn't gonna work. I don't know what to do with user input.
The text was updated successfully, but these errors were encountered:
More cases which help demonstrate how a solution isn't as trivial as adding " around user search term(s).
"
Fail:
devices usb-c adapter""
https://wiki.installgentoo.com
following:
>>>
">>>"
\>\>\>
"devices usb-c adapter" ""
Success:
devices usb-c adapter" "
"https://wiki.installgentoo.com"
"following:"
2021-08-22
"devices usb-c adapter" " "
Success but no results (when matching documents exist):
".\n"
...
\.\.\.
"..."
Sorry, something went wrong.
No branches or pull requests
I've consulted https://docs.rs/tantivy/latest/tantivy/query/struct.QueryParser.html, and it lists some valid search options, but it doesn't explain what the "syntax boundaries" are.
I don't know how to avoid SyntaxErrors when searching with,
invalid query: SyntaxError("comment:https://website.org")
invalid query: SyntaxError("comment:\nwords")
-
. Beginning with+
is ok.+ 2
does not search records containing+ 2
. Instead it looks for records with2
.+
or-
with\
.So stripping non-alphanumerics from the front and end of strings isn't gonna work. I don't know what to do with user input.
The text was updated successfully, but these errors were encountered: