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
In Spree's new api v2 the product search is done by posting a name filter to the products resource like so:
/api/v2/storefront/products?filter[name]=rails
The v2 controllers use the new Finder classes instead of the Spree::Core::Search class that the frontend controllers use. According to the Spree dev team they are moving away from the old search class in favour of the Finder classes. So in order to be able to use SearchKicks functionality via Spree's api spree_searchkick gem needs to override/extend the Finder class.
The text was updated successfully, but these errors were encountered:
@haukurhrafn originally the search class was designed for the frontend, but I will investigate if it is possible to adapt it for the future implementation of the finder class
In Spree's new api v2 the product search is done by posting a name filter to the products resource like so:
/api/v2/storefront/products?filter[name]=rails
The v2 controllers use the new Finder classes instead of the Spree::Core::Search class that the frontend controllers use. According to the Spree dev team they are moving away from the old search class in favour of the Finder classes. So in order to be able to use SearchKicks functionality via Spree's api spree_searchkick gem needs to override/extend the Finder class.
The text was updated successfully, but these errors were encountered: