Open nad0u opened 3 years ago
Now you can add an alias (after this PR)
Schema sc = new Schema().AddField(new TextField(FieldName.Of("f1").As("f1_text"), noStem: true)).AddTagField(FieldName.Of("f1").As("f1_tag"));
That's great news ! Thank you for the feedback, I need to try this now !
Hi everyone,
I'm new to Redis and RediSearch. I saw that it was possible to create a schema with NRediSearch, however it doesn't seem possible to add alias (see discussion under this issue).
How can I create the following schema using NRedisSearch :
Am I missing something? If not, is it planned to add this feature?
For now I execute the command directly to redis instead of using
CreatinIndexAsync()
with the schema.My setup (I'm using this docker image: redislabs/redisearch:2.2.0):
Thanks!