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
My goal is to get all ids of records from Elastic using ReactiveElasticsearchTemplate.search filtered by NativeQuery. For that, I do not need to fetch source of the records.
I am not able to set that right now, I can only work around this by using: .withSourceFilter(new FetchSourceFilterBuilder().withExcludes("*").build())
but that only generate SourceConfig with type Filter to exclude everything
I was wondering if it would be possible to add option for NativeQuery to set fetchSource(false)
The text was updated successfully, but these errors were encountered:
My goal is to get all ids of records from Elastic using ReactiveElasticsearchTemplate.search filtered by NativeQuery. For that, I do not need to fetch source of the records.
I am not able to set that right now, I can only work around this by using:
.withSourceFilter(new FetchSourceFilterBuilder().withExcludes("*").build())
but that only generate SourceConfig with type Filter to exclude everything
I was wondering if it would be possible to add option for NativeQuery to set fetchSource(false)
The text was updated successfully, but these errors were encountered: