Forum Replies Created
-
wpsolrKeymaster3 years, 6 months ago in reply to: Sort by location not working – Fatal Error #32989
I just replicated your configuration locally, with success.
– ACF “text” field geolocation_acf
– Url:
/?s=&wpsolr_is_geo=y&wpsolr_sort=geolocation_acf_str_desc&wpsolr_lat=44.834999&wpsolr_long=-0.575490– Elasticsearch sort in Query monitor:
"sort": [ { "_geo_distance": { "geolocation_acf_ll": { "lat": "44.834999", "lon": "-0.575490" }, "order": "desc", "unit": "km", "mode": "min", "distance_type": "plane" } } ]wpsolrKeymaster3 years, 6 months ago in reply to: Sort by location not working – Fatal Error #32986What kind of ACF field is it?
wpsolrKeymaster3 years, 6 months ago in reply to: Sort by location not working – Fatal Error #32982We still do not know for sure which field is used for the sort.
wpsolrKeymaster3 years, 6 months ago in reply to: Sort by location not working – Fatal Error #32971Can you activate the Query monitor add-on, and copy here the sort of the Elasticsearch query (with the field error)?
wpsolrKeymaster3 years, 6 months ago in reply to: Sort by location not working – Fatal Error #32965Did you activate and set the Geolocation add-on?
wpsolrKeymaster3 years, 6 months ago in reply to: Can’t Deactivate/Reactivate License #32964I just removed your license activation for https://*-3254861.cloudwaysapps.com
wpsolrKeymaster3 years, 6 months ago in reply to: Search PDF from ACF Field Embed Content #32931Unselect the “Index all ACF file fields”, then use the hook
WPSOLR_Events::WPSOLR_FILTER_GET_POST_ATTACHMENTSto control which field you want to index.You can find a functional code example in /wpsolr-pro/wpsolr/pro/extensions/acf/class-wpsolr-plugin-acf.php
The code browses all ACF file fields of the post, but you can filter with the field you need.wpsolrKeymaster3 years, 6 months ago in reply to: Search PDF from ACF Field Embed Content #32929Do you mean ACF embedded files like /forums/topic/search-in-all-acf-file-fields-by-default/ ?
wpsolrKeymaster3 years, 6 months ago in reply to: Archive page showing non-relevant items #32925Not soon. This will require a deep refactoring of WPSOLR.
wpsolrKeymaster3 years, 6 months ago in reply to: Archive page showing non-relevant items #32923It will be fixed with /forums/topic/release-23-1/
wpsolrKeymaster3 years, 6 months ago in reply to: Facets Count wrong / Not All Facets items are showing #32921The gold color applies to the product, not to the variants: no “Use for variations” on screen1
wpsolrKeymaster3 years, 6 months ago in reply to: Facets Count wrong / Not All Facets items are showing #32919This is a purpose feature.
WPSOLR does not index attribute values for variable products that have no variants in stock for that attribute. Which is true in your case.Example: do not show facet ‘gold’ if no variations in stock have that color attribute.
wpsolrKeymaster3 years, 6 months ago in reply to: Archive page showing non-relevant items #32918Category names must be unique indeed.
You could rename your categories as “Clothing men”.
wpsolrKeymaster3 years, 6 months ago in reply to: Facets Count wrong / Not All Facets items are showing #32915It seems to have no color attribute on https://selasaudi.com/product/versace-t-shirt-bianca-stampata-in-jersey-di-cotone-baby-boy-baby-boys
wpsolrKeymaster3 years, 6 months ago in reply to: Facets Count wrong / Not All Facets items are showing #32911WooCommerce displays products (variable, simple) in archives, like the shop, the product search, or product categories.
Facets therefore only count product attributes.For instance, in the following link you can count 6 yellow products, as shown on the yellow color facet: https://selasaudi.com/product-category/fashion?wpsolr_sort=sort_by_relevancy_desc&wpsolr_fq%5B0%5D=pa_color_str%3AYellow
- This reply was modified 3 years, 6 months ago by wpsolr.