Closed eduardoj closed 4 years ago
The issue here is that for real-time indices, Sphinx needs to be running, so start
is invoked before indexing. And for no-detach, the start
task takes over the process, so nothing else will happen after it…
So, I'm not really sure if rebuilding while using no-detach is possible. I'm not sure what such a thing would look like!
A potential workaround could be to run a rebuild in detached mode, and then restart in no-detached mode?
This issue's been dormant for a couple of months now, so I'm thinking I'm going to close it.
I realise there hasn't been a fix, but I think any solution for this is either going to manage multiple processes (which I think is beyond the scope of TS), or it's a matter of running ts:rebuild and ts:stop without the env flag (thus, letting the real-time indexing occur), and then ts:start afterwards with NODETACH=true
. Either way, I'm feeling this is up to users to choose what suits them, rather than changes to TS's behaviour - but I'm open to suggestions otherwise, should anyone have ideas!
When running a rebuild in no-detach mode, the task
ts:rt:index
is not executed.For example:
There are no problems in detached mode:
I would like that the rebuild task also generates the real time index files.