Research stores field as JSON

Hello,

Is it possible to store a field in redisearch as a JSON object (without indexing this field.) Something like https://oss.redislabs.com/redisjson/ ?

Thank you so much.

What is the use case? do you want to just store it as a payload?

Hi,

I’m not sure if I should call it a payload because the idea of payload in readisearch is to store a data in memory to quickly access in scoring function.

What we want is to create a field that we do not want to index but still be able to filter/retrieve it (in return-field) as JSON and return it to end user.

best,

Vào 17:36:43 UTC+7 Thứ Tư, ngày 20 tháng 3 năm 2019, guy.k...@redislabs.com đã viết:

You can just declare it as a field with the NOINDEX keyword.
Mark Nunberg | Senior Software Engineer
Redis Labs - home of Redis

Email: mark@redislabs.com

Thank you so much. Now I remember we already discussed about this: https://groups.google.com/forum/#!topic/redisearch/3Ad4CmKuY_Q
please let me know if we have a patch.

Best,

Vào 19:08:11 UTC+7 Thứ Tư, ngày 20 tháng 3 năm 2019, Mark Nunberg đã viết:

Can you file a bug in github for that? this appears to be a bug
Mark Nunberg | Senior Software Engineer
Redis Labs - home of Redis

Email: mark@redislabs.com

Hi, look like it is an issue from redisearch python client, not the redis itself.

https://github.com/RediSearch/redisearch-py/issues/34

Vào 21:09:56 UTC+7 Thứ Tư, ngày 20 tháng 3 năm 2019, Mark Nunberg đã viết: