Custom Taxonomy Displaying 0 Results

  • mcl7
    Participant
    3 years, 5 months ago #22828

    I created a custom taxonomy (eg. Topics) which works fine without WPSolr enabled but when I enable WPSolr all of the page’s child to topics (eg. domain.com/topics/topic1) show no results are found.

    I have checked “Categories” but that didn’t seem to do anything (what does this feature actually do)?

    Do I need to select “Index Custom Fields and Categories” in 2.2?

    This is a bit strange because I already have a custom taxonomy for “brands” that already works perfectly?

    mcl7
    Participant
    3 years, 5 months ago #22829

    Additional info: Everything in the new custom taxonomy is indexed successfully and is showing in Algolia. Just getting 0 results when going to any of the actual custom taxonomy pages. I saved permalinks as well just to be sure.

    wpsolr
    Keymaster
    3 years, 5 months ago #22830

    Is there a definition difference between your 2 categories?
    Like:
    “public” => true,
    “publicly_queryable” => true,

    mcl7
    Participant
    3 years, 5 months ago #22832

    I missed a config in WPSolr and all is good! Thank you!

    wpsolr
    Keymaster
    3 years, 5 months ago #22843

    For info, which config did you miss?

    mcl7
    Participant
    3 years, 5 months ago #22848

    I had a secondary sort in place that was completely overwriting the primary sort. New was the secondary sort and didn’t seem to account for the primary sort (relevance).

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

You must be logged in to reply to this topic.