Skip to content

Commit

Permalink
Add System Index Descriptor
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <cwperx@amazon.com>
  • Loading branch information
cwperks committed Jan 28, 2025
1 parent 4aea21e commit 5e48de5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ public class GeospatialPlugin extends Plugin

@Override
public Collection<SystemIndexDescriptor> getSystemIndexDescriptors(Settings settings) {
return List.of(new SystemIndexDescriptor(IP2GEO_DATA_INDEX_NAME_PREFIX, "System index used for Ip2Geo data"));
return List.of(
new SystemIndexDescriptor(IP2GEO_DATA_INDEX_NAME_PREFIX, "System index used for Ip2Geo data"),
new SystemIndexDescriptor(DatasourceExtension.JOB_INDEX_NAME, "System index used for Ip2Geo job")
);
}

@Override
Expand Down

0 comments on commit 5e48de5

Please sign in to comment.