Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate with other plugins (like JSON-API Plugin) #134

Open
rhein opened this issue May 18, 2016 · 1 comment
Open

How to integrate with other plugins (like JSON-API Plugin) #134

rhein opened this issue May 18, 2016 · 1 comment

Comments

@rhein
Copy link

rhein commented May 18, 2016

Thanks for this plugin, it works perfectly on a "normal" WP-Install!

Now, I try to get it working in combination with the JSON-API Plugin (https://wordpress.org/plugins/json-api/), in order to retrieve the search results via API-Calls. Wordpress is just used as a backend of sorts here.

This however does not work. It seems to me when using the JSON-API Plugin the default search is not overwritten, so only results from the "normal" WP search are returned.

I guess it has something to do with the way the plugins register with Wordpress and overwrite the default functions / behavior. It is probably just a matter of "telling" the JSON-API plugin to use Elasticsearch instead of the normal search. Since I am not a WP developer I have some trouble figuring out where this happens, maybe you can point me in the right direction?

I am posting this here, as I suppose this is an issue with any other plugin that uses the default WP search as its input. Things like plugins used to create internal links within a post etc. come to mind. So it would be good to document the fix somewhere. If it already is documented, please discard this post and just drop me a link to the docs ...

Thanks - Ralf

@rhein rhein changed the title Not compatible with JSON-API Plugin? How to integrate with other plugins (like JSON-API Plugin) May 18, 2016
@rhein
Copy link
Author

rhein commented May 18, 2016

Just checked: also the WP default internal link-search (for inserting a link into a post) does not utilize elasticsearch. If we find a way to tell it, things would improve a lot I'd say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant