@ibloom
Thank you, this is actually the thing which I would like to recommend you to do.
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