Replies: 2 comments 1 reply
|
We have a PR with per-instance search support (#13991), but I’m concerned about performance, so need to do some testing before merging it in. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In Craft 5, we have an option to use multiple instances of specific field in field layout. However, this seems to have broken
searchelement query method when it is used like this:search('fieldInstance::some-value'), as described in docs here.This is probably due to the fact the fact that in the
searchindexdb table, values of multiple instances of specific field are stored in single row for each element instead of using separate rows.Are there any plans to allow searching by field instances? I know we can also just query like this
craft.entries.fieldInstance('some-value'), but as far as i know, this method is not as performant as usingsearch.All reactions