Filters are gone and the archive page has huge whitespace on top

  • finalwebsites
    Participant
    4 years, 5 months ago #14669

    According the logs there is something with my series attribute. So I checked the number from that attribute and noticed that there is no product for this attribute. While removing all empty attribute records I get this error:

    (WPSOLR) Error while indexing this post type:

    {“error”:{“root_cause”:[{“type”:”query_shard_exception”,”reason”:”failed to create query: {\n \”bool\” : {\n \”must\” : [\n {\n \”term\” : {\n \”id\” : {\n \”value\” : \”pa_series_32766\”,\n \”boost\” : 1.0\n }\n }\n }\n ],\n \”adjust_pure_negative\” : true,\n \”boost\” : 1.0\n }\n}”,”index_uuid”:”q0gVWxc6Tb-bcDdG1qlITQ”,”index”:”hafabra_index_new”}],”type”:”search_phase_execution_exception”,”reason”:”all shards failed”,”phase”:”query”,”grouped”:true,”failed_shards”:[{“shard”:0,”index”:”hafabra_index_new”,”node”:”64_mCJnUSO-tD72bkdrQlg”,”reason”:{“type”:”query_shard_exception”,”reason”:”failed to create query: {\n \”bool\” : {\n \”must\” : [\n {\n \”term\” : {\n \”id\” : {\n \”value\” : \”pa_series_32766\”,\n \”boost\” : 1.0\n }\n }\n }\n ],\n \”adjust_pure_negative\” : true,\n \”boost\” : 1.0\n }\n}”,”index_uuid”:”q0gVWxc6Tb-bcDdG1qlITQ”,”index”:”hafabra_index_new”,”caused_by”:{“type”:”number_format_exception”,”reason”:”For input string: \”pa_series_32766\””}}}]},”status”:400}

    How to solve this?

    wpsolr
    Keymaster
    4 years, 5 months ago #14670

    It seems to be a format issue with field “pa_series_32766”. Go to screen 2.2, and check that type “String” is selected for this field. Then reindex all.

    • This reply was modified 4 years, 5 months ago by wpsolr.
    finalwebsites
    Participant
    4 years, 5 months ago #14673

    Hi,
    This is not a field, pa_series is a product attribute (woocommerce taxonomy)
    And for the taxonomies is not such a string type

    wpsolr
    Keymaster
    4 years, 5 months ago #14674

    Can you remove it from the boosts in screen 2.3, and see what happens?

    finalwebsites
    Participant
    4 years, 5 months ago #14675

    I don’t use boosts, the check box is not activated

    finalwebsites
    Participant
    4 years, 5 months ago #14676

    it’s working now, maybe I need to save some option after I did the settings import from the other website.
    Thanks

    finalwebsites
    Participant
    4 years, 5 months ago #14677

    Sorry I was in the wrong site, same settings but the problem still exists
    (boosts are disabled)

    wpsolr
    Keymaster
    4 years, 5 months ago #14678

    Can you also remove all fields in screen 2.3 and save?

    finalwebsites
    Participant
    4 years, 5 months ago #14679

    saving doesn’t work, it says “saving” for several minutes now.

    wpsolr
    Keymaster
    4 years, 5 months ago #14680

    Try to check your debug.log errors.

    finalwebsites
    Participant
    4 years, 5 months ago #14681

    Saving works after I entered some values to the required fields.
    Now all boost fields are disabled, the activate boots is unchecked.
    The problem still exists.

    wpsolr
    Keymaster
    4 years, 5 months ago #14682

    Can I see the new error message?

    finalwebsites
    Participant
    4 years, 5 months ago #14683

    The error in the cron log is gone, but now I see this error if I click index button:

    failed to parse field [id] of type [long] in document with id ‘pa_instrument_31988’

    finalwebsites
    Participant
    4 years, 5 months ago #14684

    Just check the database and term record with id 31988 looks fine.
    What I see is that there are multiple terms having the same slug (this is some mess from the site owner)

    finalwebsites
    Participant
    4 years, 5 months ago #14691

    Hi,

    is there something else I can try?

Viewing 15 posts - 1 through 15 (of 38 total)

You must be logged in to reply to this topic.