Skip to content
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

update index #7

Open
srmarjani opened this issue Aug 29, 2022 · 1 comment
Open

update index #7

srmarjani opened this issue Aug 29, 2022 · 1 comment
Labels
question Further information is requested

Comments

@srmarjani
Copy link

Hi
Thanks for this great library.

I have a general question.
After Indexing a table into redisearch, What happens when we update some field in database of create a new row.
We have to update index in redisearch manually?

@saadmk11 saadmk11 added the question Further information is requested label Aug 29, 2022
@saadmk11
Copy link
Owner

saadmk11 commented Aug 29, 2022

Hello @srmarjani,

Just like we run manage,py migrate to synchronizes the database state with the current set of models we need to run manage,py index to update the RediSearch Schema and indexed data. This is only required if you decide to index the newly added/updated fields to Redis (by adding the field to a Document Class)

Hope this answers your question. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants