You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a WooCommerce store where i would like to be able to search for partial hits on product SKU's.
This works fine when the search query does not contain a number.
Searching for "FI-PH" returns all products with sku's starting with "FI-PH", e.g. FI-PH034, FI-PH023 and so on.
But when adding numbers to the search query, e.g. "FI-PH0" no results are returned.
When hitting the full SKU results are also returned, e.g. searching for "FI-PH023" returns the product with SKU "FI-PH023".
I have tried adding edge_ngram to the default filters, but then no results are returned at all.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
@mathiasoem I have the exact same issue, where partial matching of a SKU with numbers in it does not work. Do you have an example of the implementation of the ngram field?
I experienced so many compatibility issues that I ended up completely disabling elasticpress, so I can't tell you what I did. Disabling it actually resulted in alle of my queries being faster, somehow.
I have a WooCommerce store where i would like to be able to search for partial hits on product SKU's.
This works fine when the search query does not contain a number.
Searching for "FI-PH" returns all products with sku's starting with "FI-PH", e.g. FI-PH034, FI-PH023 and so on.
But when adding numbers to the search query, e.g. "FI-PH0" no results are returned.
When hitting the full SKU results are also returned, e.g. searching for "FI-PH023" returns the product with SKU "FI-PH023".
I have tried adding edge_ngram to the default filters, but then no results are returned at all.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: