Forums Forums Search & Filter Pro Relevanssi integration not fully working

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #234783

    Hi Trevor,

    I need your help one more time. I tried to use Relevanssi for my WooCommerce search (SFP search form).
    The search basically works but leads to strange results. I guess the reason is, that the weight settings made in Relevanssi are ignored, when Relevanssi is used via SFP. Is that thinkable!?

    Here I have an example:
    Searching for “alles gute” with Relevanssi option in search form disabled:
    https://miriamkreativ.de/wp-content/uploads/2020/02/search-results-alles-gute-without-relevanssi.png
    Searching for “alles gute” with Relevanssi option in SFP search form enabled:
    https://miriamkreativ.de/wp-content/uploads/2020/02/search-results-alles-gute-with-relevanssi.png (2 results shall not even be included here)
    Searching for “alles gute” with Relevanssi active but without SFP form “in between”:
    https://miriamkreativ.de/wp-content/uploads/2020/02/search-results-alles-gute-with-relevanssi-without-SFP.png (one more result than searching without Relevanssi that might be relevant for the searching person)

    Can you help, please!?

    Trevor
    #234794

    Your basic assumption is correct. We use the WordPress standard search or the Relevanssi search to return an ordered list (array) of matching Post IDs. In the case of Relevanssi, we can request they are delivered in ‘relevance’ order. But, any other options you select in Relevanssi with regard to ordering may potentially be ignored, because we ask Relevanssi to hand that list of to our plugin early in the process.

    Our plugin then processes that list by filtering and ordering it, if you have set any of these.

    So, yes, it is very possible to see a difference in results.

    Anonymous
    #235359

    Hi Trevor,

    thanks. Is there a way to fix this?
    It would be awesome if weights and other things configured in Relevanssi would work with your search form, too…

    Trevor
    #235428

    At this stage, there is no way to fix it. In V3 of our plugin, we do plan to make more sophisticated addons available, but likely this would be further down the track, at 3.1 or even 3.2, before a Relevanssi addon appears. It IS, however, on our to do list. V3.0 should release in a few months, but I think it will be many months after that before V3.1 appears, as we would need to let V3.0 settle down first for quite a few months.

Viewing 4 posts - 1 through 4 (of 4 total)