Replies: 2 comments 1 reply
-
@psawamura The payload being sent is different in v3 and v4. The payload v4 sends captures the search intent but doesn't send the query DSL directly. To confirm this, you can check on the network request being made by the library. Do you have ReactiveSearch API server setup to proxy the Elasticsearch traffic? You can set that either with the cloud service or per the instructions here: https://github.com/appbaseio/reactivesearch-api-docker. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @siddharthlatest, how would you advise here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! We’re currently trying to upgrade reactive search from v3 to v4 with React.
To access our elastic search data we use the
endpoint
prop in theReactiveBase
component. In v3 this has worked for us with no problems. However with v4 we are not able to see the data through the ReactiveSearch components anymore.In v4, once the request is sent we’re able to see the response in the network tab so we know our service is working fine but the
ReactiveBase
component, for some reason, cannot see the data coming through and therefore it hangs in an endless loading state.We've tried inspecting the incoming response on ReactiveBase through the
transformResponse
prop and nothing is coming through. The same goes with other components likeMultiList
,ReactiveList
, for which we've tried checking the incoming data through theonData
props. The data is just not reaching the components.We’ve compared the syntax and format of the required API payload between v3 and v4 and noticed that v3 only had arguments of Boolean type for the
settings
while v4 now has some attributes of String type. We've already made those changes in our service that serves the elastic data but we’re still not able to see any data through the UI components.We are running out of ideas on how to make this new version work. Has anyone experienced the same issue or knows what could be going on here?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions