Hello,
I would like to make one data field which is ignored by the index, call output. So I declared it in schema as: weight=0.0, sortable=True, no_stem=True, no_index=True
Now I would like to get only this field in results,
FT.SEARCH my_idx “*” RETURN 1 output
but I got error:
(error) Property ‘output’ not loaded or in schema
Is there any solution to get only that field?
Best,
Sorry, don’t know why the error is not displayed:
(error) Property ‘output’ not loaded or in schema
Vào 09:54:28 UTC+7 Thứ Hai, ngày 11 tháng 2 năm 2019, phqnha đã viết:
Can you show the output of FT.INFO my_idx
? I’m wondering if output actually exists in the index… I was playing around with trying to do FT.CREATE idx SCHEMA … t2 TEXT NOINDEX SORTABLE NOSTEM and got into a bit of an issue… until the argument parser would accept ot.
Mark Nunberg | Senior Software Engineer
Redis Labs - home of Redis
Email: mark@redislabs.com
Hi, it is does not exists in the index, although I declared it in schema, python-client:
TextField(‘output’, weight=0.0, sortable=True,
no_stem=True, no_index=True),
Any suggestion would be appreciated.
Best,
Vào Th 2, 11 thg 2, 2019 vào lúc 10:08 Mark Nunberg mark@redislabs.com đã viết:
Yeah, it seems to be an odd bug in the index creation. I’ll keep this bug open until we fix it.
Mark Nunberg | Senior Software Engineer
Redis Labs - home of Redis
Email: mark@redislabs.com