Manipulating scores in multisite #13801
-
I'm working on a searching module where it would be possible to boost the scores set by a config file. For example: Where the searchWeight is a boost if the 'searchresult' is of that section type, and an individual field boost. The problem occurs when I'm searching in a multisite. An example as to why this could be helpfull: Anyone has any idea how I could accomplish this? Or is this already on the roadmap in some way? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Looks like this is something we overlooked when adding support for multi-site element queries. Most element queries only fetch elements in a single site at a time, in which case The problem is that the Unfortunately there wouldn’t be a non-breaking way to fix this in Craft 4, so we will have to address it in Craft 5 instead. |
Beta Was this translation helpful? Give feedback.
-
This is now resolved for Craft 5, via 5d8ac94. |
Beta Was this translation helpful? Give feedback.
This is now resolved for Craft 5, via 5d8ac94.