-
-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
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
Searching comb with a -excluded-word
returns error
#11328
Comments
What does your |
Complex, but you can replicate with something as simple as: {{ search:results }}
{{ title }}
{{ /search:results }} |
Hmmm... What does your |
Ah, interesting. Perhaps because it contains a replicator field in the index? 'default' => [
'driver' => 'local',
'searchables' => 'all',
'fields' => ['title', 'page_builder'],
] |
You could also easily test this by installing peak + the search preset |
Yep, if I remove it from the index the error disappears. |
What does this line look like? Are you rendering the page builder on the search page? |
However, you can recreate it with just
Nope |
Just installed Peak - I can see it now, thanks! |
Bug description
When using the comb search driver, you can use
boolean
mode to exclude words from a query. E.g:statamic -wordpress
. However, a query with a-
returns an Array to string conversion error.This error also occurs when you use a different
query_mode
How to reproduce
-excluded-word
in your search queryLogs
Environment
Installation
Starter Kit using via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: