Skip to content

[SD-1462] Added custom data source for media index.#735

Open
MdNadimHossain wants to merge 4 commits intodevelopfrom
feature/SD-1462-custom-data-soruce-for-media-index
Open

[SD-1462] Added custom data source for media index.#735
MdNadimHossain wants to merge 4 commits intodevelopfrom
feature/SD-1462-custom-data-soruce-for-media-index

Conversation

@MdNadimHossain
Copy link
Contributor

@MdNadimHossain MdNadimHossain commented Feb 12, 2026

JIRA issue: https://digital-vic.atlassian.net/browse/SD-1462

Changed

  1. Added a custom data source to handle media items named "Filtered Media". In config the user can choose the media type and in the drop down it will list the available boolean field in media entity type. Based on the boolean field It will build the tracker. This will help reduce the indexing time for media items and only index media items which will be set as true in the boolean field

Test branch in content- vic -
https://nginx-php.pr-1960.content-vic.sdp4.sdp.vic.gov.au/
FE - https://app.pr-1320.vic-gov-au.sdp4.sdp.vic.gov.au/search-dtp-technical-publications
Index - https://sdp3.kb.australiaeast.azure.elastic-cloud.com:9243/app/enterprise_search/content/search_indices/a83890f7a31dea14e1ae83c6f0afacca--elasticsearch_index_custom_datasource_media/documents

Screenshots

screen-capture.1.webm

}

try {
$query = $database->select($table_name, 't');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed it to query the table from the DB directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant