2

I'm a Craft newbie, just searching for something and spotted this related post Search order "Score" criteria

What I would like to know, is there a way to add a Modifier value to a field, like LOW Search does for EE?

For example; lets imagine we want trees listed first.

We would add a 'keyword' field, and a modifier value too help ensure a far higher score than any other fields, possibly including the title.

So an entry with the words 'Top Trees' in our 'keyword' field would trump all other entries containing the words 'Top Trees'.

1

There currently isn't a native way to do this, and I'm not sure it'd be that easy for a plugin to easily pull off either, since there currently aren't any search related events exposed in Craft.

Probably worth adding a feature request for, though!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.