error using solr_search_shortcode after successful plugin wp solr pro setup

Tagged:
  • software.licenses
    Participant
    2 months, 1 week ago #38086

    Good morning,
    we’ve just successfully configured the WP SOLR Pro plugin after updating php to 8.1 as you suggested.

    We now receive the following error using the shortcode  “solr_search_shortcode”:
    Solr HTTP error: Bad Request (400) { “response”:{ “numFound”:0, “start”:0, “numFoundExact”:true, “docs”:[ ] }, “error”:{ “metadata”:[“error-class”,”org.apache.solr.common.SolrException”,”root-error-class”,”org.apache.solr.common.SolrException”], “msg”:”undefined field comments”, “code”:400 } }

    Also, we’d like to know if there is another shortcode or a guide to help us setting up a search filter to match our desire. We would like to better understand how solr works to present and manage the “category” filters, and/or if we have to modify them directly working on the code.
    If there’s a way, I could provide an image to give you a better idea of what we are trying to achieve.

    Thanks in advance

    wpsolr
    Keymaster
    2 months, 1 week ago #38090

    We cannot help customizing the shortcode, which is deprecated for years.

    WPSOLR is meant to replace your WP search query, and let your theme display results with the standard posts loop.

    To fix the mentioned error, you need to select “index comments” in screen 2.2 (bottom).

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

You must be logged in to reply to this topic.