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

Show status of new indexing in webpage #54

Open
4 tasks
MartinMikita opened this issue Jan 11, 2018 · 0 comments
Open
4 tasks

Show status of new indexing in webpage #54

MartinMikita opened this issue Jan 11, 2018 · 0 comments
Milestone

Comments

@MartinMikita
Copy link
Member

The indexing process is now logging into the file, which could be used to get the status of indexing from the python and show the progress.

You can check the indexing process, which is logged into the file /var/log/sphinxsearch/sphinx-reindex.log inside the running container.

Tasks to be done to improve this:

  • create a lock file, that index is in progress
  • show parsed progress from the log (or entire file probably?) on the main page (if the indexing is in the progress)
  • return an empty response when there is no index data (database is not running) and the index is in the process for each query
  • delete this lock file in the end, and allow requests to be done

This should solve issues using this docker container with larger data for the first time by new customers, like #53

@MartinMikita MartinMikita added this to the v2.1 milestone Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant