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

  • wpsolr
    Keymaster
    4 years, 6 months ago #14720

    Same diagnostic.

    Can you check the index settings in Kibana (the field “id” should be defined with type “keyword”)?
    GET my_index_name

    finalwebsites
    Participant
    4 years, 6 months ago #14723

    This is what I get:

    #! Deprecation: [types removal] The parameter include_type_name should be explicitly specified in get indices requests to prepare for 7.0. In 7.0 include_type_name will default to ‘false’, which means responses will omit the type name in mapping definitions.
    {
    “hafabra_index_new” : {
    “aliases” : { },
    “mappings” : {
    “wpsolr_types” : {
    “properties” : {
    “PID” : {
    “type” : “long”
    },
    “PID_i” : {
    “type” : “long”
    },
    “author” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “author_s” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “bms_kleine_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “categories” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “content” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “date” : {
    “type” : “date”
    },
    “displaydate” : {
    “type” : “date”
    },
    “displaydate_dh_i” : {
    “type” : “long”
    },
    “displaydate_dm_i” : {
    “type” : “long”
    },
    “displaydate_ds_i” : {
    “type” : “long”
    },
    “displaydate_dt” : {
    “type” : “date”
    },
    “displaydate_dt_dh_i” : {
    “type” : “long”
    },
    “displaydate_dt_dm_i” : {
    “type” : “long”
    },
    “displaydate_dt_ds_i” : {
    “type” : “long”
    },
    “displaydate_dt_md_i” : {
    “type” : “long”
    },
    “displaydate_dt_wd_i” : {
    “type” : “long”
    },
    “displaydate_dt_y_i” : {
    “type” : “long”
    },
    “displaydate_dt_yd_i” : {
    “type” : “long”
    },
    “displaydate_dt_ym_i” : {
    “type” : “long”
    },
    “displaydate_dt_yw_i” : {
    “type” : “long”
    },
    “displaydate_md_i” : {
    “type” : “long”
    },
    “displaydate_wd_i” : {
    “type” : “long”
    },
    “displaydate_y_i” : {
    “type” : “long”
    },
    “displaydate_yd_i” : {
    “type” : “long”
    },
    “displaydate_ym_i” : {
    “type” : “long”
    },
    “displaydate_yw_i” : {
    “type” : “long”
    },
    “displaymodified” : {
    “type” : “date”
    },
    “displaymodified_dt” : {
    “type” : “date”
    },
    “displaymodified_dt_dh_i” : {
    “type” : “long”
    },
    “displaymodified_dt_dm_i” : {
    “type” : “long”
    },
    “displaymodified_dt_ds_i” : {
    “type” : “long”
    },
    “displaymodified_dt_md_i” : {
    “type” : “long”
    },
    “displaymodified_dt_wd_i” : {
    “type” : “long”
    },
    “displaymodified_dt_y_i” : {
    “type” : “long”
    },
    “displaymodified_dt_yd_i” : {
    “type” : “long”
    },
    “displaymodified_dt_ym_i” : {
    “type” : “long”
    },
    “displaymodified_dt_yw_i” : {
    “type” : “long”
    },
    “flat_hierarchy_pa_arrangeur_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_componist_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_instrument_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_moeilijkheidsgraad_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_periode_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_series_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_soort-bladmuziek_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_uitgever_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_pa_vorm_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “flat_hierarchy_product_cat_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “id” : {
    “type” : “long”
    },
    “inhoudsopgave_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “isbn_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “menu_order_i” : {
    “type” : “long”
    },
    “meta_type_s” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “modified” : {
    “type” : “date”
    },
    “modified_dh_i” : {
    “type” : “long”
    },
    “modified_dm_i” : {
    “type” : “long”
    },
    “modified_ds_i” : {
    “type” : “long”
    },
    “modified_md_i” : {
    “type” : “long”
    },
    “modified_wd_i” : {
    “type” : “long”
    },
    “modified_y_i” : {
    “type” : “long”
    },
    “modified_yd_i” : {
    “type” : “long”
    },
    “modified_ym_i” : {
    “type” : “long”
    },
    “modified_yw_i” : {
    “type” : “long”
    },
    “non_flat_hierarchy_pa_arrangeur_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_componist_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_instrument_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_moeilijkheidsgraad_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_periode_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_series_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_soort-bladmuziek_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_uitgever_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_pa_vorm_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “non_flat_hierarchy_product_cat_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “numcomments” : {
    “type” : “long”
    },
    “pa_arrangeur_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_componist_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_instrument_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_moeilijkheidsgraad_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_periode_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_series_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_soort-bladmuziek_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_uitgever_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “pa_vorm_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “permalink” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “post_author_s” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “post_status_s” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “product_cat_str” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “title” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “title_s” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    },
    “type” : {
    “type” : “text”,
    “fields” : {
    “keyword” : {
    “type” : “keyword”,
    “ignore_above” : 256
    }
    }
    }
    }
    }
    },
    “settings” : {
    “index” : {
    “creation_date” : “1571732495550”,
    “number_of_shards” : “5”,
    “number_of_replicas” : “1”,
    “uuid” : “kiWK_-vPSI-5HiH8L9uoiQ”,
    “version” : {
    “created” : “6080399”
    },
    “provided_name” : “hafabra_index_new”
    }
    }
    }
    }

    wpsolr
    Keymaster
    4 years, 6 months ago #14724

    Thanks.

    This index settings is not as expected:

    “id” : {
    “type” : “long”
    }

    should be

    “id” : {
    “type” : “keyword”
    }
    finalwebsites
    Participant
    4 years, 6 months ago #14725

    And where do I change this? It worked before and also for the other site (similar to this one)

    wpsolr
    Keymaster
    4 years, 6 months ago #14726

    Create a new index (new name and new label, or the old index will be used) in the plugin, and use it in screen 2.1. The index should be created with the correct settings.

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

    Indexing is working now.
    Was the problem something that could happen more often? Or is it very rare?

    wpsolr
    Keymaster
    4 years, 6 months ago #14731

    As far as I understand, your index settings have been updated manually.

    If you create your indexes with WPSOLR, it will not happen.

    finalwebsites
    Participant
    4 years, 6 months ago #14735

    It’s working again thanks

Viewing 8 posts - 31 through 38 (of 38 total)

You must be logged in to reply to this topic.