WPSolr logo
Search
Close this search box.

Forum Replies Created

  • gkandylakis
    Participant

    Yes they are.

    gkandylakis
    Participant
    3 years, 10 months ago in reply to: Search results adding to the title #20885

    sorry but i don’t understand what you are saying. Can you explain?

    gkandylakis
    Participant
    gkandylakis
    Participant

    filter

    We display them as a hierarchy. Have you tried to make the hierarchy using latin characters for names?

    The path in our categories goes more like this

    agori

    antras

    gkandylakis
    Participant
    3 years, 10 months ago in reply to: Search results adding to the title #20881

    So what do i need to change to make it work?

    gkandylakis
    Participant

    I just doubled checked it. Yes “Show the hierarchy” is checked

    gkandylakis
    Participant
    3 years, 10 months ago in reply to: Search results adding to the title #20873

    wpsolr-pro/wpsolr/core/classes/engines/solarium/admin/conf/4.0/solrconfig.xml:995
    wpsolr-pro/wpsolr/core/classes/engines/solarium/admin/conf/4.0/old/wpsolr-v4/solrconfig.xml:993
    wpsolr-pro/wpsolr/core/classes/engines/solarium/admin/conf/opensolr/4.0/solrconfig.xml:995
    wpsolr-pro/wpsolr/core/classes/engines/redisearch_php/admin/conf/4.0/solrconfig.xml:995
    wpsolr-pro/wpsolr/core/classes/engines/redisearch_php/admin/conf/4.0/old/wpsolr-v4/solrconfig.xml:993
    wpsolr-pro/wpsolr/core/classes/engines/redisearch_php/admin/conf/opensolr/4.0/solrconfig.xml:995

    gkandylakis
    Participant

    This is the log when i enter the category

    [09-Jul-2020 13:26:52 UTC] Log WPSOLR query: 21/892 results in 686 ms:
    {“from”:0,”size”:21,”_source”:[“id”,”PID”,”type”,”meta_type_s”,”title”,”numcomments”,”comments”,”displaydate”,”displaymodified”,”*categories_str”,”author”,”*post_thumbnail_href_str”,”*post_href_str”,”snippet_s”],”query”:{“bool”:{“must”:{“query_string”:{“query”:”text:(*)”,”default_operator”:”AND”}},”filter”:{“bool”:{“must”:[{“terms”:{“type”:[“product”]}},{“bool”:{“must_not”:[{“terms”:{“post_status_s”:[“draft”,”pending”,”trash”,”future”,”private”,”auto-draft”]}}]}},{“bool”:{“must”:{“term”:{“non_flat_hierarchy_product_cat_str”:”\u039c\u039f\u0394\u0391\u03a3″}}}},{“bool”:{“should”:[{“bool”:{“must_not”:[{“exists”:{“field”:”product_visibility_str”}}]}},{“bool”:{“must_not”:[{“terms”:{“product_visibility_str”:[“exclude-from-catalog”]}}]}}]}},{“bool”:{“should”:[{“bool”:{“must_not”:[{“bool”:{“must”:{“exists”:{“field”:”product_stock_str”}}}}]}},{“terms”:{“product_stock_str”:[“y”]}}]}},{“bool”:{“should”:[{“bool”:{“must_not”:[{“bool”:{“must”:{“exists”:{“field”:”is_excluded_s”}}}}]}},{“terms”:{“is_excluded_s”:[“n”]}}]}},{“bool”:{“must_not”:[{“terms”:{“_id”:[“wpsolr_doc_id_attachment”]}}]}}]}}}},”aggs”:{“flat_hierarchy_product_cat_str”:{“filter”:{“match_all”:{}},”aggs”:{“flat_hierarchy_product_cat_str”:{“terms”:{“field”:”flat_hierarchy_product_cat_str”,”size”:100}}}},”product_brand_str”:{“filter”:{“match_all”:{}},”aggs”:{“product_brand_str”:{“terms”:{“field”:”product_brand_str”,”size”:100}}}},”pa_size_str”:{“filter”:{“match_all”:{}},”aggs”:{“pa_size_str”:{“terms”:{“field”:”pa_size_str”,”size”:100}}}},”pa_color_str”:{“filter”:{“match_all”:{}},”aggs”:{“pa_color_str”:{“terms”:{“field”:”pa_color_str”,”size”:100}}}},”_price_f”:{“filter”:{“match_all”:{}},”aggs”:{“_price_f”:{“range”:{“field”:”_price_f”,”ranges”:[{“to”:”0″},{“from”:0,”to”:50},{“from”:50,”to”:100},{“from”:100,”to”:150},{“from”:”150″}]}}}}}}

    and this is when i click one of the wrong filters

    [09-Jul-2020 13:26:52 UTC] Log WPSOLR query: 21/892 results in 686 ms:
    {“from”:0,”size”:21,”_source”:[“id”,”PID”,”type”,”meta_type_s”,”title”,”numcomments”,”comments”,”displaydate”,”displaymodified”,”*categories_str”,”author”,”*post_thumbnail_href_str”,”*post_href_str”,”snippet_s”],”query”:{“bool”:{“must”:{“query_string”:{“query”:”text:(*)”,”default_operator”:”AND”}},”filter”:{“bool”:{“must”:[{“terms”:{“type”:[“product”]}},{“bool”:{“must_not”:[{“terms”:{“post_status_s”:[“draft”,”pending”,”trash”,”future”,”private”,”auto-draft”]}}]}},{“bool”:{“must”:{“term”:{“non_flat_hierarchy_product_cat_str”:”\u039c\u039f\u0394\u0391\u03a3″}}}},{“bool”:{“should”:[{“bool”:{“must_not”:[{“exists”:{“field”:”product_visibility_str”}}]}},{“bool”:{“must_not”:[{“terms”:{“product_visibility_str”:[“exclude-from-catalog”]}}]}}]}},{“bool”:{“should”:[{“bool”:{“must_not”:[{“bool”:{“must”:{“exists”:{“field”:”product_stock_str”}}}}]}},{“terms”:{“product_stock_str”:[“y”]}}]}},{“bool”:{“should”:[{“bool”:{“must_not”:[{“bool”:{“must”:{“exists”:{“field”:”is_excluded_s”}}}}]}},{“terms”:{“is_excluded_s”:[“n”]}}]}},{“bool”:{“must_not”:[{“terms”:{“_id”:[“wpsolr_doc_id_attachment”]}}]}}]}}}},”aggs”:{“flat_hierarchy_product_cat_str”:{“filter”:{“match_all”:{}},”aggs”:{“flat_hierarchy_product_cat_str”:{“terms”:{“field”:”flat_hierarchy_product_cat_str”,”size”:100}}}},”product_brand_str”:{“filter”:{“match_all”:{}},”aggs”:{“product_brand_str”:{“terms”:{“field”:”product_brand_str”,”size”:100}}}},”pa_size_str”:{“filter”:{“match_all”:{}},”aggs”:{“pa_size_str”:{“terms”:{“field”:”pa_size_str”,”size”:100}}}},”pa_color_str”:{“filter”:{“match_all”:{}},”aggs”:{“pa_color_str”:{“terms”:{“field”:”pa_color_str”,”size”:100}}}},”_price_f”:{“filter”:{“match_all”:{}},”aggs”:{“_price_f”:{“range”:{“field”:”_price_f”,”ranges”:[{“to”:”0″},{“from”:0,”to”:50},{“from”:50,”to”:100},{“from”:100,”to”:150},{“from”:”150″}]}}}}}}

    gkandylakis
    Participant
    3 years, 10 months ago in reply to: Search results adding to the title #20869

    no it is not. I can see in the default highlights you are using the following

    <str name=”hl.simple.pre”>& lt;b& gt;</str>
    <str name=”hl.simple.post”>& lt;/b& gt;</str>

    Should i replace the HTML entities?

    gkandylakis
    Participant

    Changing the category tree is not an option. This wasn’t an issue in the demo we setup together. What other option is there?

    gkandylakis
    Participant
    3 years, 10 months ago in reply to: Search results adding to the title #20865

    the browser translates it so it got lost so i’m putting spaces between them
    & lt ; b & gt; and not <b>
    The html entities don’t work properly inside an href

    gkandylakis
    Participant
    3 years, 10 months ago in reply to: Search results adding to the title #20864

    I tried it and didn’t work. When i tried to copy the structure of the HTML here i noticed that the browser is reading it as <b> and not <b>. When i manually edited the html the problem disappeared.

Viewing 12 posts - 16 through 27 (of 27 total)