The site I'm working on is a talent website that has actors names, headshots, and resume all created with post_title, featured images, and custom fields.
I am using Relavanssi to make my search results work a little better. However, I am running into a problem where if the user search for "John" it works well with all the actors with "John" in their name come first and then anyone with "John" in their resume (custom fields) come after.
But if the user search for, say, "Spanish" (meaning they are looking for an actor that speaks Spanish) the results come up randomly and not in any order. I want them to be ordered by the title of the post (which is also the name of the actor).
So, short version: If a user searches for a name, it should come up with those names first. If a user searches for a field it should come up as alphabetical.
I realize that I probably need two different search forms for this or at least two different fields, and I know how to create multiple forms with hidden fields to differentiate (which is fine), but I don't know how to make that work and still use Relavanssi or a similar plugin to run both searches for me.