Change SearchTypes to be `QUERY_THEN_FETCH`
This closes elastic/elasticsearch#165 Original commit: elastic/x-pack-elasticsearch@b7642cf33d
This commit is contained in:
parent
b85c0ca1a7
commit
f12ead6a4c
|
@ -47,7 +47,7 @@ public class SearchInput extends Input<SearchInput.Result> {
|
|||
|
||||
public static final String TYPE = "search";
|
||||
|
||||
public static final SearchType DEFAULT_SEARCH_TYPE = SearchType.COUNT;
|
||||
public static final SearchType DEFAULT_SEARCH_TYPE = SearchType.QUERY_THEN_FETCH;
|
||||
|
||||
private final Set<String> extractKeys;
|
||||
private final SearchRequest searchRequest;
|
||||
|
|
|
@ -40,7 +40,7 @@ public class SearchTransform extends Transform<SearchTransform.Result> {
|
|||
|
||||
public static final String TYPE = "search";
|
||||
|
||||
public static final SearchType DEFAULT_SEARCH_TYPE = SearchType.DFS_QUERY_AND_FETCH;
|
||||
public static final SearchType DEFAULT_SEARCH_TYPE = SearchType.QUERY_THEN_FETCH;
|
||||
|
||||
protected final ESLogger logger;
|
||||
protected final ScriptServiceProxy scriptService;
|
||||
|
|
Loading…
Reference in New Issue