Is there anyway I can change the search function

This is a coding issue and I want to know if I can somehow make the search function prioritize when searching. For instance, when searching for a term or terms, I want it to display the results that have the term in the title first, then the ones with the term in the description, and then the ones with it in the tags. Need results by relavancy instead of just by date or ABC order. Is that possible?

Tags:

Comments

  • acrylian Administrator

    Is that possible?

    As always the wrong question ;-) The question is how much work are you willing to do. Results are generally ordered by relavancy. Review the searchEngine class, filter/order the results returned to your liking and the create your own custom results:
    https://docs.zenphoto.org/class-SearchEngine.html

Sign In or Register to comment.