Replies: 1 comment
-
Hitting the same issue. Are there any workarounds? |
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, it seems that regardless of the types is specify in my indices the
.ft.search()
command always returns my data a strings (when I useRETURN
in the query). Is that expected behavior somehow? I would assume not, so am I doing something wrong?For context, I'm storing JSON docs of the type:
and I created an index like this:
And when I do a search in Node like:
I actually get the expected result:
But when I do a search using
RETURN
like this:suddenly the result I get is:
As you can see the "quantity" field is returned as a string, not a number.
Beta Was this translation helpful? Give feedback.
All reactions