Skip to content

Commit b1e21b1

Browse files
committed
Update export API example
1 parent 7359dff commit b1e21b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.code-samples.meilisearch.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,5 +844,7 @@ update_localized_attribute_settings_1: |-
844844
reset_localized_attribute_settings_1: |-
845845
client.index("INDEX_NAME").resetLocalizedAttributesSettings();
846846
export_post_1: |-
847-
ExportRequest request = ExportRequest.builder().url("http://anothermeiliinstance:7070").build();
847+
Map<String, ExportIndexFilter> indexes = new HashMap<>();
848+
indexes.put("*", ExportIndexFilter.builder().overrideSettings(true).build());
849+
ExportRequest request = ExportRequest.builder().url("TARGET_INSTANCE_URL").indexes(indexes).build();
848850
client.export(request);

0 commit comments

Comments
 (0)