Search results for custom user meta text field

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search results for custom user meta text field

This topic contains 2 replies, has 2 voices, and was last updated by sabbella sabbella 5 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #22420


    I have custom user meta text input field in my front end search.

    One user have this custom meta values: lengua española y matemáticas

    If I search for the exact or partial phrase I get correctly that user as a result, but if I search for example:

    lengua española matemáticas
    matematicas lengua

    I don’t get any result.

    I’d like to know how to configure the search in order to get results independently of the order of the terms in that custom field. I want to get results if my search contains all or some of the terms in the custom field.

    Thank you,

    Ernest Marcinko
    Ernest Marcinko


    The problem with that is, that the custom input field (for custom meta values) only works for sort of ‘exact matching’, so the keywords are not separately compared. It is not implemented for performance reasons basically.
    This will only work with the main search field, with that the keywords are compared individually.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    Ok, thank you Ernest.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.