You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b8b217
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: marklogic-client-api/src/main/java/com/marklogic/client/datamovement/filter/IncrementalWriteFromLexiconsFilter.java
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@
13
13
14
14
/**
15
15
* Uses an Optic fromLexicons query that depends on a field range index to retrieve URIs and
16
-
* hash values.
16
+
* hash values. When {@code sourceUriKeyName} is configured (see
17
+
* {@link IncrementalWriteFilter.Builder#sourceUriKeyName(String)}), the "URI" side of the
18
+
* lookup is instead backed by a field over that metadata key, since the matched document may
19
+
* have since been relocated to a different physical URI.
17
20
*
18
21
* @since 8.1.0
19
22
*/
@@ -26,14 +29,19 @@ class IncrementalWriteFromLexiconsFilter extends IncrementalWriteFilter {
Copy file name to clipboardExpand all lines: marklogic-client-api/src/main/java/com/marklogic/client/datamovement/filter/IncrementalWriteFromViewFilter.java
Copy file name to clipboardExpand all lines: marklogic-client-api/src/test/java/com/marklogic/client/datamovement/filter/IncrementalWriteFilterTest.java
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,4 +49,38 @@ void addHashToMetadata() {
49
49
assertEquals("12345", metadata2.getMetadataValues().get("theField"), "hash field should be added");
50
50
assertEquals(timestamp, metadata2.getMetadataValues().get("theTimestamp"), "timestamp should be added");
0 commit comments