This topic contains 2 replies, has 2 voices, and was last updated by sabbella 4 years, 7 months ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
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 4 years, 7 months ago.
Hello,
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
or
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,
Hi,
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.
Ok, thank you Ernest.
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |