• Heya!

    First thing – how to ensure, that search is using Relevanssi? I installed, built an Index… maybe I am missing something.
    Second – I run a debug on a Product page to see, whether it sees the Tag. And it does. But, nevertheless, the search does not see the tag and not giving the result. What to dooooo, sir?
    Look at the attached web address – you can see, it has a tag “ragana”, but when you search [while in English site] for that name, it does not show up.

    Additional screen from debuging: https://i.imgur.com/3q0eoGd.png

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The two easiest ways to confirm are:

    1. Do a search, deactivate Relevanssi, repeat the search. Are the results the same?
    2. Compare the search results to the same search in the Relevanssi admin search at Dashboard > Admin search.

    Your search responds to the post_types parameter which is specific to Relevanssi, so that suggests it’s using Relevanssi.

    You’re using TranslatePress to translate your site, and unfortunately, it’s not compatible with Relevanssi. Relevanssi works with Polylang and WPML, but TranslatePress handles the translations in a way that does not work with Relevanssi. You’ll have to find a different search tool (or a translation tool).

    Thread Starter olafsosh

    (@olafsosh)

    Thank you so much for answering!

    Oh, yes, TranslatePress is an odd choice for couple reasons, but I was not there at the time ?? But this shouldn’t be an issue, since Tags are not translated and appear the same in both versions of the page. Or am I wrong here?

    Am I correct in presuming, that these ones have to be activated in order to search by tags?
    https://i.imgur.com/YkwaBmR.png

    Plugin Author Mikko Saari

    (@msaari)

    Does searching for the tags work in the Relevanssi admin search (Dashboard > Admin search)? I don’t know what TranslatePress does; it’s possible it interferes with the search in any case.

    Thread Starter olafsosh

    (@olafsosh)

    TY, Mikko, for your patience! ??

    Just if are taking admin search and forget about languages – shouldn’t in query variables be “product_tag”, since it’s check-marked?

    Query variables

    • post_types: product
    • s: ragana
    • relevanssi_admin_search: 1
    • tax_query:
    • operator: OR
    • posts_per_page: -1
    Plugin Author Mikko Saari

    (@msaari)

    No. When you check product_tag in the indexed taxonomies, Relevanssi will index that taxonomy and will return matches to the taxonomy without any need for tax_query parameters. It’s not a taxonomy filter, it’s just free text search that is also applied to that taxonomy.

    Thread Starter olafsosh

    (@olafsosh)

    Still…

    How to make the Search to read Tags. I added another tag to different product [with similar name] in order to move it up the ladder, but it doesn’t. It’s score also didn’t get higher. And the Tag “weight” is set higher than others.

    Why?

    Plugin Author Mikko Saari

    (@msaari)

    You’re still using TranslatePress. I can’t really support a site using TranslatePress because I can’t rule out that the problems aren’t caused by TranslatePress.

    If you can reproduce the problem without TranslatePress, I can look into this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.