-
moisbParticipant7 years ago #14396
Hello, I have 3 types of posts indexed on Solr (I use Solr 7 via OPenSolr). Are they: “post” (wordpress default), coupon (custom post type) and product (woocommerce). The “product” comes from another wordpress site (I use global search/cross search).
I’m trying to do it like this (https://snipboard.io/VJs9Wy.jpg):
Boost factor = 2
Boost Values =
coupon^2
product^0.5
post^0.4I want the custom post type “coupon” to be shown first in the results when a searched word also finds results in other post types.
but when I activate all searches return empty 🙁
How I do?
After setting the boost do I need to reindex all data?moisbParticipant7 years ago #14402OK. Now I understand 🙂 However, I’m still doing a test search using a keyword that has records on “product” and “coupon”. And even with the higher boost for type “coupon”, they are returning results of type “product” at the first positions.
I will send you an email with all the details. If you can help me by saying what I am doing wrong, I am grateful.
P.S: if you can help me adjust this you can add my site (I use 2 licenses with cross search) as a portfolio for WPSolr. I love your plugin.
moisbParticipant7 years ago #14404Follow: https://snipboard.io/MrxZX7.jpg
wpsolrKeymaster7 years ago #14419Similar issue in Boost pages over media (PDFs). Can you check that your WPSOLR version is up to the latest version?
You must be logged in to reply to this topic.