Indexing Error

  • wpsolr
    Keymaster
    7 months, 2 weeks ago #35733

    The Solr version supported by WPSOLR is Solr 9.x

    Your error comes from our solrconfig.xml containing a cache “solr.CaffeineCache”, not valid for Solr 7.x

    snfpaper
    Participant
    7 months, 1 week ago #35821

    Any response? Thanks.

    wpsolr
    Keymaster
    7 months, 1 week ago #35822

    The Solr version supported by WPSOLR is Solr 9.x

    snfpaper
    Participant
    7 months, 1 week ago #35824

    How can we get it updated?

    wpsolr
    Keymaster
    7 months, 1 week ago #35825

    If you use Solr only for this index, you can just install the latest version in place of the older version, then create a new index from WPSOLR and reindex it.

    snfpaper
    Participant
    7 months, 1 week ago #35828

    Are there instructions somewhere for how to install this?

    wpsolr
    Keymaster
    7 months, 1 week ago #35845

    Nothing specific to WPSOLR. Just plain Solr installation: https://solr.apache.org/guide/solr/latest/deployment-guide/installing-solr.html

    snfpaper
    Participant
    7 months ago #35860

    Hi there. We upgraded Solr according to the directions and set up the index with http. However, we are still receiving an error:
    Error on line 176 of file C:\WebSites\snfpaper.johndaniel.com\wp-content\plugins\wpsolr-pro\wpsolr\core\vendor\solarium\solarium\src\Core\Client\Adapter\Http.php: file_get_contents(https://localhost:8983/solr/snfpaper/update?omitHeader=false&wt=json&json.nl=flat): failed to open stream: HTTP request failed!

    wpsolr
    Keymaster
    7 months ago #35861

    Can you try with the Curl adapter instead? You can select it on your index settings “Client adapter” dropdown list.

    snfpaper
    Participant
    7 months ago #35862

    Can you please tell us where specifically that is? There are a lot of settings in here! Thanks.

    snfpaper
    Participant
    7 months ago #35863

    The pages are indexing properly, but our media and posts are not.

    wpsolr
    Keymaster
    7 months ago #35864

    On your WPSOLR 23.4 index settings screen, use the dropdownlist named “Client adapter” to select the “curl” adapter instead of default “http” adapter.

    snfpaper
    Participant
    7 months ago #35872

    Okay, we have gotten a new index up, and have been successful in indexing our posts and pages. We also managed to index several hundred media (we have about 10,000 in our library). But we have reached a standstill. We are running the index in batches of 1, and we are receiving no errors, but we are unable to index anything else.
    The process starts up, but then nothing gets indexed, despite the spinning wheel telling us the process is working. From the server, we can see that nothing is happening despite the WP Dashboard side of WP SOLR telling us it is working to index the content.
    Please advise. Thanks.

    wpsolr
    Keymaster
    7 months ago #35873

    Nothing in WP logs or Solr logs?

    If you check the “debug” mode during indexing, you should see the current post indexed and can have a look at its content.

    snfpaper
    Participant
    7 months ago #35879

    We found the following (there are several like this):
    [03-Oct-2023 20:27:07 UTC] PHP Fatal error: Allowed memory size of 629145600 bytes exhausted (tried to allocate 428608168 bytes) in C:\WebSites\snfpaper.johndaniel.com\wp-content\plugins\wpsolr-pro\wpsolr\core\vendor\solarium\solarium\src\Core\Client\Adapter\AdapterHelper.php on line 62

    We aren’t sure which memory we need to increase here, or how to go about doing that. Any advise?

Viewing 15 posts - 16 through 30 (of 34 total)

You must be logged in to reply to this topic.