Forum Replies Created
-
wpsolrKeymaster3 years, 12 months ago in reply to: Boost Search on Taxonomy Pages #31265
I recommend to configure suggestions on your search boxes. It will help your visitors find out the exact moment where some unfixable typos are made, and fix them early before the sentence is too long.
wpsolrKeymaster3 years, 12 months ago in reply to: Boost Search on Taxonomy Pages #31264Fuzzy can have strange behaviours.
Here is the Elasticsearch fuzziness documentation if you’re interested.wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31247Yes, I edited my previous query and executed it, with same results.
wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31244why there is ~ icon in our query
“~” comes from the fuzzy option.
we have boost for all fields, but still that boost isnt showing in the query
“summary_t” is equivalent to “summary_t^1”
wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31242“Diabetic~1” means that the search is on “Diabetic” with at most one letter different.
Will match on:
Diabetic
Diabetik
diabeticWill not match on (2 letters differences):
Diabatik
diabetikwpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31240Here are my own tests, with a similar query:
{ "from": 0, "size": 1, "track_total_hits": true, "_source": [ "title", "product_cat_str" ], "query": { "function_score": { "functions": [ { "filter": { "match": { "product_visibility_str": "featured" } }, "weight": 11 } ], "query": { "bool": { "must": { "query_string": { "fields": [ "title^1", "product_cat_str^1" ], "query": "(Kit~1 Blue~1)", "default_operator": "AND" } } } } } } }{ "took" : 3, "timed_out" : false, "_shards" : { "total" : 1, "successful" : 1, "skipped" : 0, "failed" : 0 }, "hits" : { "total" : { "value" : 76, "relation" : "eq" }, "max_score" : 8.629168, "hits" : [ { "_index" : "wpsolr-demo-woocommerce-100k-products", "_type" : "_doc", "_id" : "79452", "_score" : 8.629168, "_source" : { "product_cat_str" : [ "Political Figures" ], "title" : "Kit Blue Blue" } } ] } }wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31236Which field contains “retail” in your current ACF fields queried?
“fields”: [“product_visibility_t^11”, “publication_date_t^12”, “title^10”, “summary_t”, “figures_str”, “tables_str”, “contents_str”, “synopsis_str”, “content^0.5”],
“query”: “(retail~1)”,wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31207your query is now “retail~1”, which means “retail” with fuzzy search.
What should it return, and what does it return?(remove the fuzzy option first, as it can have some strange effects).
wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31205In your query, there are no keywords: it is not possible to test a search.
wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31203Please activate the Query Monitor extension, and let me see what the WPSOLR query looks like.
wpsolrKeymaster4 years ago in reply to: Sort by two custom fields #31201Boost will reorder results if the first sort is “Relevancy”.
Concerning the second sort field, it cannot be the same as the fist sort field.
wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31197Can you try with the exact custom field value (uppercase/lowercase)?
If it works, then use the option “Copy to a text field” on each boosted field.
(reindex all your data afterwards)wpsolrKeymaster4 years ago in reply to: Sort by two custom fields #31195You can select a default secondary sort on screen “2.5 Sort”
wpsolrKeymaster4 years ago in reply to: Activating options ending into solr http error 400 #31193This form is deprecated. On screen 2.1, select your own theme’s archive templates to display results queried by WPSOLR.
wpsolrKeymaster4 years ago in reply to: Boost Search on Taxonomy Pages #31190Boosting is on or off. If it is on, you need to setup boost for all your custom fields that are searchable.