Hi,
Yes, it could definitely be the case that if you install two plugins each of which replaces the WordPress core search functionality in different ways that they will be unlikely work together.
I’ve had a quick look at how the plugin interacts with relevansii. It looks like relevansii completely replaces the core search functionality to run from separate indexing tables so it would require this plugins functionality to be rebuilt on a completely different db schema specific to sites using relevansii (assuming they’ve provided the relevant extension hooks).
This would be a big job, and for some applications of the plugin which use their own custom data structures already this would likely be impossible. So no this isn’t something I’m planning to support.
I’m considering a possible rewrite to make the plugin more reliant on the WordPress core querying functionality, this would likely mean a loss of functionality, as some of what the plugin currently does could not be implemented that way, it might though make the plugin more compatible with other search plugins. That won’t be for a while though and would still be unlikely to help in this case.
Thanks,
Don
Hi,
Thank you for your detailed answer! Even though i like relevanssi i am not dead centered on that particular plugin. So, then let’s try to work around this: I use relevanssi because when I set up my website I was told that an immediate replacement of the search engine is a must, because the core search engine does not include custom post types and I especially need to be able to search bbPress replies. Thus following questions arise:
- Is the wordpress core search engine still as limited as it was back then? I am having troubles finding a review of the core search engine on the internet.
- Do you have any experience with search-enhancing plugins that work together nicely with your plugin?
Thank you for your advice and kind regards
mimesot
Hi,
The WordPress core search engine is still pretty basic. That’s why I built this plugin to customise it in the way I needed.
I’m not really aware of any plugins which would work nicely with this one and add value. They may be out there though, what functionality is it you’re trying to build?
If it’s just including custom post types in results you should be able to do that with this plugin alone.
Thanks,
Don
Hi,
the core problem ist that i can use this plugin in pages and posts to get better search results. But my default search bar stays crappy because it seems to be still using the wordpress core search. I would love the default search bar to be able to search posts, pages and forum topics while still being able to use your pluging for fine granular searches. How can I achieve that?
Greeting
mimesot
When you say the default search bar, is that configured as a widget? You should be able to replace that with an instance of this plugin’s widget configured to do a similar job.
If you just added one search field which is a “Text Input” field configured to search “Core Post Field” > “All” with comparison “Contains Text”, this should produce something similar to WordPress core search. (Even better if you enable split words in the “Text Input” settings)
This would give you a search form similar to the wordpress core search but in the form general settings (the settings icon at the top of the form editor) you can configure which post types will be displayed.
Jepp, indeed, if iI use your Widget it works flawlessly as intended. Lists all Post Types I need. Cool!
Regarding my Website. I use the free Theme BoxStyle by Alx and it has a search field integrated with the primary bar (that one which holds the main menu) at the right side.
See http://demo.alx.media/x/?theme=Boxstyle
(Note: In order to spice it up I use the ajax powered live search plugin “SearchWP Live Search” which itself utilizes the Core Search funktion or other Searches that replace the core search like Relevanssi or SearchWP. I uninstalled both in order to test your plugin.)
Is there a way to get that search field to use your technology as a basis? I guess there are many themes out there that come with an integrated search field somewhere.
Okay, I see the problem now.
There’s not at present any way to replace the default WordPress search, you’re right though that this would be useful in some cases and I will schedule this for a future release.
If I get time, I’ll take another look at the incompatibilities with Relevansii and see if there’s a workaround to let the two play nicely together.
Sorry, I can’t be of more help
Hi there,
well, thats cool. Than I will wait for your future releases with great anticipation. Meanwhile i will leave the core-search as is on the pages for guests who shall generally read posts rahter than anything else and in addition i will place your enhanced search as a widget. My members will get used to having two search bars for different porposes and I will use the Plugin “widget options” to hide the enhanced search from guests. I think i found a feasible workaround and your answers were still of great value to me.
Thanks and greetings!
mimesot