jina-ai/executor-hnsw-postgres

Status endpoint does not allow for compositing data with other executors

louis-byers opened this issue · 1 comments

If another executor would also like to report some status information using the same status endpoint the return of the HNSQPostgresIndexer will remove it.

It seems some manner of using object update on the tags or just placing the status under a particular key would be more friendlier.

return DocumentArray([Document(tags=status)])

As per comment in linked PR, moving the status to the __results__ is a preferred solution.