Exclude a Taxonomy Term from the index

  • kuro19
    Participant
    1 year, 10 months ago #52552

    Hi,

    I have a custom taxonomy named ‘status’ and a term ‘dropped’ under it.

    What I want to do is exclude the term ‘dropped’ from the index and searching.

    Can you please guide me how to do it?

    Thank you.

    wpsolr
    Keymaster
    1 year, 10 months ago #52553

    A checkbox “Hide” is available on each facet item in screen 2.4. Click first on button “Override each facet label” on your field “status”.

    You will need to reindex all your data.

    kuro19
    Participant
    1 year, 10 months ago #52555

    Thank you, but it’s not really what I’m looking for! To be clear: I want to exclude posts that associated with a specific term in a custom taxonomy from being indexed by Wpsolr.

    How can I do it please?

    Thank you.

    wpsolr
    Keymaster
    1 year, 10 months ago #52556

    To exclude post types from the index based on some criteria, you can modify the SQL that retrieves posts to be indexed.

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

You must be logged in to reply to this topic.