How to use js to query elasticsearch's data

Ask, on the use of js to get elasticsearch data problems.
1
This is the data that can be obtained, the same sentence, with js $ .get () to obtain the time, the callback function did not receive the return value, how is this going on?

The problem should exist on getFacets.jsx, the other code is fine, this part of the callback function did not get the data, but I do not know what to do now.

If you know how to deal with, please help me, thank you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.