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
There is no way to retrieve only suggestions since the 'query' field is mandatory. Unnecessary data is returned, consuming unnecessary network resources.
\elastic_client-0.3.15\lib\src\_client.dart at line 300
final map = {
if (source != null) '_source': source,
if (fields != null) 'fields': fields,
'query': query ?? Query.matchAll(), // hereeeeee
if (offset != null) 'from': offset,
if (limit != null) 'size': limit,
if (suggest != null) 'suggest': suggest,
if (sort != null) 'sort': sort,
if (aggregations != null) 'aggregations': aggregations,
if (highlight != null) 'highlight': highlight.toMap(),
if (trackTotalHits != null) 'track_total_hits': trackTotalHits,
if (size != null) 'size': size,
if (minScore != null) 'min_score': minScore,
if (knn != null) 'knn': knn,
};
Second Issue:
The mapping with the response JSON does not match as illustrated below.
First problem:
There is no way to retrieve only suggestions since the 'query' field is mandatory. Unnecessary data is returned, consuming unnecessary network resources.
\elastic_client-0.3.15\lib\src\_client.dart
at line 300Second Issue:
The mapping with the response JSON does not match as illustrated below.
Elasticsearch Response Version: 8.11.4
Mapping of the file
\elastic_client-0.3.15\lib\src\_client.dart
at line 331The text was updated successfully, but these errors were encountered: