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
Granted an empty object is the correct syntax, but unfortunately in PHP this can get a little confusing since an empty assoc array json_encode()'s to an object, but of course encodes to an array when empty.
Very confusing for a little while.
Interestingly, if the facets are not included then it works either way.
Granted an empty object is the correct syntax, but unfortunately in PHP this can get a little confusing since an empty assoc array json_encode()'s to an object, but of course encodes to an array when empty.
Very confusing for a little while.
Interestingly, if the facets are not included then it works either way.
Example: https://gist.github.com/4323746
running ES 0.19.9 (yeah still...)
The text was updated successfully, but these errors were encountered: