Get WPFTS Pro today with 25% discount!

No valid search resulds, whats wrong?


  • Hello,

    i have some problems running the WP Fast Total Search plugin successfully.

    I have a wordpress site with PODS plugin, which adds some custom entities and custom fields. At first it looks really good, because all the posts are getting indexed. When using the Sandbox tools i can confirm my example post with ID 11802 is getting index. When searching something which is inside the "0" field of that post, it won't return any relevant results. Why is this?

    I attached a screen cap video to show you everything. https://youtu.be/jbkO1a2N6qc

    best Regards


  • Hi,

    i would love to get an answer to that. Am i using the plugin wrong and assuming a functionality it does not have? If you need any additional info about the system please let me know.

    Best Regards


  • Hi @stark

    Thank you for the question!

    I think you know how to deal with PODS custom meta fields because I see that you have created clusters with data in the index, and I think it was achieved by the custom code. That's 80% of the job!

    As I can see your post records are searchable in the Sandbox by words from the "0" cluster (the custom metafield).

    The only problem is you can not get your custom posts shown in the search results on the front page.

    This may be caused by a hook in your theme or custom code that intercepts pre_get_posts or another hook related to WP_Query and adds additional filtering to posts either at the input parameter level (for example, it allows searching only posts with post_type = post, page; or adds additional WHERE conditions directly to the query that is formed in WP_Query). I would advise you to review the code of your custom plugins and theme for such hooks. I also recommended that you disable all plugins that may be related to search for testing. For example, Elastic Press.
    We are not very familiar with the functionality of PODS, it is obviously similar to the ACF plugin in the database, but it probably also adds some conditions to the search.

    The presence of a conflicting hook may also be indicated by the fact that in analytics all queries show either 0 or -1 results, which is incorrect information.

    By the way, could you click on any of the rows in the analytics table and see the query details? That might give us a clue as to why this is happening.

    Also, give me some time - I need to see if The7 theme conflicts with WPFTS.

    Thanks! Let me know if any of the above tips helped you.


  • Hi,

    thanks for your answer. I will check out everything you just said and will come back with the results.

    @EpsilonAdmin said in No valid search resulds, whats wrong?:

    As I can see your post records are searchable in the Sandbox by words from the "0" cluster (the custom metafield).

    I'm not sure if this is correct. Please have a close look @ 00:49 (https://youtu.be/jbkO1a2N6qc?t=49) and notice there are results, but every results has 80% relevance and none of the top results have the searched word inside. There should be the post with ID 11802 in the top result.

    Best Regards


  • Hi @stark

    Could you test posts 22515 and 11804 on the first tab of the Sandbox? I am curious which data were indexed in those posts, may be the SAME data was indexed for all those posts. The same relevance ratio (80%) is very less probably for such amount of posts.

    Also I would see the code you are used to put meta fields to the index. Could you share?

    Thanks!

Suggested Topics

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.

ewm-logo-450

The forum powered by NodeBB | Contributors