Skip to content

GitHub 895: Search: Over indexing Assay Batch#7494

Merged
cnathe merged 4 commits intorelease26.3-SNAPSHOTfrom
26.3_fb_assayBatchIndex895
Mar 17, 2026
Merged

GitHub 895: Search: Over indexing Assay Batch#7494
cnathe merged 4 commits intorelease26.3-SNAPSHOTfrom
26.3_fb_assayBatchIndex895

Conversation

@cnathe
Copy link
Contributor

@cnathe cnathe commented Mar 16, 2026

Rationale

https://github.com/LabKey/internal-issues/issues/895

When enumerating documents for search, we are getting all in-scope assay protocols for a given container (which includes the current container plus project and shared containers). We are then getting all assay batches for those protocols and indexing them. This means that for every container where an assay protocol is in-scope, all assay batches for that protocol are getting indexed. This PR updates that to do the same as the assay run document provider and filter the "get runs" call to just those assay runs in the given container.

Changes

  • Assay batch search indexing to include container filtering to prevent indexing all batches for an assay protocol for all containers in scope
  • Assay design search document provider update to not include run info

@cnathe cnathe requested a review from labkey-nicka March 16, 2026 14:20
@cnathe cnathe self-assigned this Mar 16, 2026
Copy link
Contributor

@labkey-nicka labkey-nicka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Manually tested some scenarios and it seems to be indexing batches appropriately as it pertains to this issue.

@cnathe cnathe merged commit 094d8b1 into release26.3-SNAPSHOT Mar 17, 2026
12 checks passed
@cnathe cnathe deleted the 26.3_fb_assayBatchIndex895 branch March 17, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants