dsc
(Dave Challis)
September 28, 2023, 3:40pm
1
The SearchRequest
builder only lets me specify a list of stored fields (or an empty list), but no way to set it to the string _none_
.
If I leave this as the default, or set it to an empty list, I don't get the desired behaviour.
I'm basically trying to generate a query similar to this one: Retrieve selected fields from a search | Elasticsearch Guide [8.10] | Elastic
dsc
(Dave Challis)
October 2, 2023, 11:54am
2
After some more testing and reading through the source, it doesn't look like it's possible with the Java API client.
I've opened an issue for this now: No way to set `stored_fields` to the string `_none_` using the Java API client · Issue #680 · elastic/elasticsearch-java · GitHub
1 Like
system
(system)
Closed
October 30, 2023, 11:55am
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.