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

(Re)indexation process : clarify expectations #78

Open
vicpsl opened this issue Sep 3, 2024 · 0 comments
Open

(Re)indexation process : clarify expectations #78

vicpsl opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels
brainstorming bug Something isn't working help wanted Extra attention is needed

Comments

@vicpsl
Copy link
Contributor

vicpsl commented Sep 3, 2024

Currently the app CLI offers a document range (re)indexation option to (re)index documents between ids X and Y, which is useful to partially (re)index with the command :
python3 manage.py --config={dev/prod} db-reindex --host=http://localhost --between=X,Y

However, the (re)indexation is based on the database model "id" field :

  • the main Place table (511.944 lieux) does not contain an id field
  • the historical names PlaceOldLabel (1.207.647 formes anciennes) does contain an id field

As a result, when the option --between=X,Y is used : only PlaceOldLabel documents between X, Y are (re)indexed.

Is this correct ? If not, how should the (re)indexation work ?

@vicpsl vicpsl added bug Something isn't working help wanted Extra attention is needed brainstorming labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorming bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants