Forum Replies Created
- gkandylakisParticipant3 years, 10 months ago in reply to: Indexing similar category paths moves products to other categories #20890
Yes they are.
gkandylakisParticipant3 years, 10 months ago in reply to: Search results adding to the title #20885sorry but i don’t understand what you are saying. Can you explain?
gkandylakisParticipant3 years, 10 months ago in reply to: Indexing similar category paths moves products to other categories #20884https://drive.google.com/file/d/1Hui8FtPyEbUJoc544m0-MZ76X-rX_zPN/view?usp=sharing
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
https://drive.google.com/file/d/1s-5ZMn5KcKdbPmznVesUdh0hSlyXMdrZ/view?usp=sharing
https://drive.google.com/file/d/1GT_xYCSSc2bbL0N_4Szsfg00ApI1zlSW/view?usp=sharing
gkandylakisParticipant3 years, 10 months ago in reply to: Indexing similar category paths moves products to other categories #20883We 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
gkandylakisParticipant3 years, 10 months ago in reply to: Search results adding to the title #20881So what do i need to change to make it work?
gkandylakisParticipant3 years, 10 months ago in reply to: Indexing similar category paths moves products to other categories #20874I just doubled checked it. Yes “Show the hierarchy” is checked
gkandylakisParticipant3 years, 10 months ago in reply to: Search results adding to the title #20873wpsolr-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:995gkandylakisParticipant3 years, 10 months ago in reply to: Indexing similar category paths moves products to other categories #20870This 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″}]}}}}}}gkandylakisParticipant3 years, 10 months ago in reply to: Search results adding to the title #20869no 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?
gkandylakisParticipant3 years, 10 months ago in reply to: Indexing similar category paths moves products to other categories #20866Changing the category tree is not an option. This wasn’t an issue in the demo we setup together. What other option is there?
gkandylakisParticipant3 years, 10 months ago in reply to: Search results adding to the title #20865the 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 hrefgkandylakisParticipant3 years, 10 months ago in reply to: Search results adding to the title #20864I 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.