-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown command 'FT.CREATE' #1284
Comments
It seems like your Redis doesn't have the RediSearch module loaded. See http://redisearch.io |
@gkorland I'm using .net core 2.2 and i have installed StackExchange.Redis & NRediSearch is there any other package ? |
I'm talking about the Redis Server you're connecting to, it seems like the server doesn't have RediSearch module loaded. The quickest way to run Redis server with the ReidSearch module loaded is just run the docker container this way you can verify if that was the issue.
|
@gkorland thanks it works now with docker image , so my question now how can i add this module on windows ? |
do you run the redis server on windows? |
yes i did |
I already have installed redis server on windows 10 but i just need to add redis search module |
There are 2 ways to load a module; you can call the I'm going to close this down, simply because it isn't really a library concern (other than to point you in the right direction) |
hi All, i was trying to install RedisSearch module but don't how to do that, Using below command someone told me what would be value for OPT1 and OPT2 |
In docker compose I'm using |
The command is still |
This is very strange. I was using docker-compose:
running command |
Because this is still an issue with RediSearch 2.0 w/ docker, and this page comes up in Google: if you look at the default docker files for RediSearch, it launches search module as a Docker CMD arg In my testing, it seems like adding your own config file will for some reason make Docker ignore the CMD arg to launch the search module The quick fix for this is two options:
OR
Running I honestly think this is more of a Docker issue than a Redis issue, so not much can be done to solve it by Redis team |
i got error unknown command 'FT.CREATE' when trying to create index
this is my code
Client client = new Client("testIndex", database);
Schema sc = new Schema()
.AddTextField("Id", 1.0)
.AddTextField("Name", 5.0)
.AddTextField("Country", 1.0)
.AddTextField("City", 1.0);
client.CreateIndex(sc, Client.IndexOptions.Default);
The text was updated successfully, but these errors were encountered: