You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SolrPower has no Rest API integration at this point and would be nice to have going forward when building single page applications. I envision two possible scenarios:
It would be nice to have solr data available on /wp/v2/search endpoint. I imagine adding a item.solr object to each item in the collection containing the highlight and perhaps the score. Every other field should be covered by default fields.
Build a dedicated solr-power namespace with a route for search results and search suggestions. The results could differ from the /wp/v2/search route as it could include a full list of facets and results in the same response.
We could also do both options.
I'll look into building a PR for this but wanted to see if this was already on the roadmap.
The text was updated successfully, but these errors were encountered:
SolrPower has no Rest API integration at this point and would be nice to have going forward when building single page applications. I envision two possible scenarios:
It would be nice to have solr data available on /wp/v2/search endpoint. I imagine adding a item.solr object to each item in the collection containing the highlight and perhaps the score. Every other field should be covered by default fields.
Build a dedicated solr-power namespace with a route for search results and search suggestions. The results could differ from the /wp/v2/search route as it could include a full list of facets and results in the same response.
We could also do both options.
I'll look into building a PR for this but wanted to see if this was already on the roadmap.
The text was updated successfully, but these errors were encountered: