Skip to content

Commit

Permalink
refactor: Add URI field to IngestorDocument and add new properties to…
Browse files Browse the repository at this point in the history
… LocalIngestorSettings

This commit adds a new field, `URI`, to the `IngestorDocument` class, allowing for the storage of document URIs. Additionally, it introduces new properties, `matches` and `recursive`, to the `LocalIngestorSettings` class. The `matches` property represents a string pattern for matching documents, while the `recursive` property indicates whether the document listing should be done recursively. These changes enhance the functionality and flexibility of the codebase.
  • Loading branch information
amengus87 committed May 30, 2024
1 parent 7bc13e2 commit 66f5fee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package ai.dragon.job.silo.ingestor.dto;

import java.net.URI;

import lombok.Data;

@Data
public class IngestorDocument {

private URI uri;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@
@JsonIgnoreProperties(ignoreUnknown = true)
public class LocalIngestorSettings {
private String localPath;
private String matches;
private boolean recursive;

public LocalIngestorSettings() {
recursive = false;
}
}

0 comments on commit 66f5fee

Please sign in to comment.