• Resolved Onisiforos

    (@onisforos)


    Hi, I have installed and activated Relevanssi.

    Added the custom fields I need the search to index in the appropiate field
    “_book_isbn13,_sku”. Also, I checked only the product post type to be index.

    Set the settings I needed and pressed build index. The browser showed that the page was loading until “This web page is not available ERR_CONNECTION_RESET”

    After few tries the details I need were indexed.

    Tried to search a product but nothing came up.

    There is no query_posts() in my search.php

    Awaiting your reply.

    Regards,

    Onisiforos

    https://wordpress.org/plugins/relevanssi/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Onisiforos

    (@onisforos)

    I have 23215 and it seems the plugin indexed them all

    State of the Index

    Documents in the index: 23215
    Terms in the index: 2251477
    Highest post ID indexed: 48789

    Plugin Author Mikko Saari

    (@msaari)

    What if you add a &post_types=product in the end of the search page URL? Does that help?

    Thread Starter Onisiforos

    (@onisforos)

    Hey Mikko,

    The issue is with the &post_type=product. Without it the search is working. With it is not.

    Is your plugin using the post_type=product by default when it indexes products?

    Regards,

    Onisiforos

    Thread Starter Onisiforos

    (@onisforos)

    Hey Mikko,

    Click here to find the code of our archive-product.php

    Regards,

    Onisiforos

    Plugin Author Mikko Saari

    (@msaari)

    Plugin is not, but your theme may be. I would suggest inspecting the theme settings.

    Thread Starter Onisiforos

    (@onisforos)

    Hey Mikko,

    Do you have any suggestions where I should look? If its useful we are using yith ajax woocommerce search.

    Regards,

    Onisiforos

    Plugin Author Mikko Saari

    (@msaari)

    If you disable the Ajax search, does the problem go away? That’s the easiest way to figure out if that’s the source of the problem.

    Thread Starter Onisiforos

    (@onisforos)

    Hi Mikko,

    Deactivated the Ajax Search and the problem still persists.

    Deactivated Relevanssi and searched with &post_type=product and it gave results.

    Is there a way to add some var_dumps in your code to see if the plugin fetches anything?

    Regards,

    Onisiforos

    Thread Starter Onisiforos

    (@onisforos)

    Hi Mikko,

    It seems the issue is with the sorting type selected on woocommerce. When selecting by “Default sorting (custom ordering + name)” the search works fine. However, I would like the search to be sorted by “Popularity” which unfortunately the search doesn’t work.

    Basically the plugin only works correctly with the following

    • “Default sorting (custom ordering + name)”
    • Sort by Newness

    The following DO NOT work:

    • Sort by Popularity
    • Sort Price Low to High
    • Sort Price High to Low

    Regards,

    Onisiforos

    Plugin Author Mikko Saari

    (@msaari)

    Yeah, those do not work, because Relevanssi doesn’t know a bit about the popularity.

    Here’s a solution for your problem: http://www.relevanssi.com/knowledge-base/woocommerce-popularity-and-price-sorting/

    Thread Starter Onisiforos

    (@onisforos)

    Hi Mikko,

    Everything works fine. I will add some tags so if anyone has the same issues they can fix it as well.

    Regards,

    Onisiforos

    Hi Mikko,

    thanks for this great Tip, this was the solution for my Problem

    Same problem here. when i add &post_type=travel to my url the custom taxonomy posts show. otherwise they dont show.

    any solution on this?

    fixed by unchecking ‘exclude_from_search’ from the plugin options 🙂

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Relevanssi Search nothing found’ is closed to new replies.