Results are not showing in apachesolr

  • manish
    Participant
    1 year, 2 months ago #32691

    I’m using apchesolr with opensolr. I’ve added widgets as shown in setup video. Search form and filters are showing but results are not showing.

    wpsolr
    Keymaster
    1 year, 2 months ago #32692

    Can you show here your screen 2.1?

    manish
    Participant
    wpsolr
    Keymaster
    1 year, 2 months ago #32694

    Looks good.

    1. Is this a standard search archive “/?s=” ?

    2. Please check your debug.log file for errors.

    3. Activate the Query Monitor add-on to verify WPSOLR is active on your search.

    manish
    Participant
    1 year, 2 months ago #32695
    wpsolr
    Keymaster
    1 year, 2 months ago #32696

    The Solr query returns 12 results. It looks like an issue with displaying the results.

    What are the errors you mentioned?

    manish
    Participant
    1 year, 2 months ago #32697

    There is duplicacy in these results. Errors are from another plugin.
    “title”: “Amazon Web Services”
    “title”: “Amazon Web Services”
    “title”: “Amazon Web Services”
    “title”: “Amazon Web Services”
    “title”: “Solutions for Amazon Web Services”
    “title”: “Solutions for Amazon Web Services”
    “title”: “Solutions for Amazon Web Services”
    “title”: “Solutions for Amazon Web Services”
    “title”: “Nurture Amazon Web Services Video”
    “title”: “Nurture Amazon Web Services Video”

    wpsolr
    Keymaster
    1 year, 2 months ago #32698

    It could be that some documents in the index do not exist anymore in your WordPress.

    Check that all post IDs from the query results are existing and published in your WP ( 14300 for instance).

    You can eventually delete the index content and reindex all your data.

    manish
    Participant
    1 year, 2 months ago #32699

    The duplicate content is from other languages. Can I index only english translated content?

    wpsolr
    Keymaster
    1 year, 2 months ago #32700

    Yes, with WPML add-on or Polylang add-on add-on.

    manish
    Participant
    1 year, 2 months ago #32701

    Data is showing now. Can we change pagination link format. Currently it’s /page/3/?s= but it should be /?s=&paged=1

    wpsolr
    Keymaster
    1 year, 2 months ago #32702

    /page/#/?s= comes from WordPress.

    manish
    Participant
    1 year, 2 months ago #32703

    Can we change this?

    wpsolr
    Keymaster
    1 year, 2 months ago #32704

    I would not: it would break pagination.

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

You must be logged in to reply to this topic.