Custom Queries from wpsolr Pro
9 months ago #30188
We would like to know is there any way to build custom queries to get data from solr server using wpsolr pro plugin. Could you help us on that.
Note: Requirement is like to show the related articles in every single page.9 months ago #30191
WPSOLR cannot currently manage “More like this” queries, because it can only replace the main query from the archives.
And WPSOLR has no public API neither (difficult to build a common API wrapping Elasticsearch, OpenSearch, Solr, Algolia, Weaviate): using the current WPSOLR internal code to build something custom would be risky to be broken in later releases.
You can of course build something outside of WPSOLR, like calling the JSON Solr More like this API, and let WPSOLR manage the heavy stuff (indexing for instance). This looks the best way on the short term.9 months ago #30194
Thanks for the Response. Can we get a sample API to get data like sample request and response.9 months ago #30198
Is that Possible to include the wpsolr pro plugin files into the child theme template?8 months, 4 weeks ago #30212
This News could interest you: https://www.wpsolr.com/content-recommendations-coming-with-wpsolr-22-4/
You must be logged in to reply to this topic.