We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85e1402 commit 5f407d4Copy full SHA for 5f407d4
1 file changed
diracx-db/src/diracx/db/os/pilot_logs.py
@@ -15,4 +15,5 @@ class PilotLogsDB(BaseOSDB):
15
16
def index_name(self, doc_id: int) -> str:
17
# TODO decide how to define the index name
18
- return f"{self.index_prefix}_0"
+ # use pilot ID
19
+ return f"{self.index_prefix}_{doc_id // 1e6:.0f}"
0 commit comments