Adding Custom Fields to the search index

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Adding Custom Fields to the search index

This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37420
    seowerk
    seowerk
    Participant

    Hello there, it’s me again 🙂

    Im trying to insert the custom fields in the index table so the content in those fields is searchable.
    The website has many of them so its important for us that the search can find information in these.
    We used JetEngine, it has the same procedure when building custom fields like ACF Pro.
    Also we used many repeater sections.

    In the custom Fields section in index table there are some custom fields to add, but is there a list of all?
    Furthermore, those appear to be only the ones that are used on Posts and Pages. Are the taxonomy one anywhere near?

    Example: https://zill.seowerk.org/de/produkte/landwirtschaft/siloschutz/siloschutzgitter/
    Screenshot Frontend: https://prnt.sc/AOASLWowYgUx
    Screenshot Backend: https://prnt.sc/e71SOTBy5D8V
    Screenshot JetEngine Settings: https://prnt.sc/e71SOTBy5D8V
    Screenshot Index Table Custom Fields: https://prnt.sc/e71SOTBy5D8V
    There seem to be just the ones of posts / pages or maybe meta boxes.

    Is there any filter or action to add those custom fields to your search?

    Thank you!
    Just ask if you need anything.
    Dominik

    #37440
    seowerk
    seowerk
    Participant

    Ok, I think it wont work…
    Your plugin probably access the postmeta table and not the termmeta table?

    Here are the custom fields that I need: https://prnt.sc/SVasWloTjUJf

    Does this solution work:
    Writing an excerpt in my custom taxonomy description? It should be searchable, shouldn’t it?

    Another question:
    Can I somehow bring my custom taxonomies to the front of the search results instead of my product post type?
    They are the actual results which we want to offer our user.

    Thank you!

    #37441
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you for the detailed description!

    You can enable search in the term metadata here, if you want to.

    The order of the mixed results can be set here. To show the taxonomy terms first, use this configuration.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.