Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -423,5 +423,10 @@ protected void handleResponse(SearchResponse<JsonData> response) {
markQueryReceivedNow();
}

/**
* Receives the sort values of the last hit returned for a bucket, as the {@link FieldValue}
* instances of the client. Subclasses can pass them to {@code search_after} to read the bucket
* from that position.
*/
protected void sortValuesForKey(String key, Object[] sortValues) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void emptyQueue(String queueName) {
Object[] searchAfterValues = searchAfterCache.getIfPresent(queueName);
if (searchAfterValues != null) {
for (Object sav : searchAfterValues) {
requestBuilder.searchAfter(FieldValue.of(sav.toString()));
requestBuilder.searchAfter((FieldValue) sav);
}
}

Expand Down
Loading