File tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/script 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,9 @@ public interface Factory {
161
161
// TODO: remove these contexts when it has its own interface
162
162
public static final ScriptContext <Factory > AGGS_CONTEXT = new ScriptContext <>("aggs" , Factory .class );
163
163
// Can return a double. (For ScriptSortType#NUMBER only, for ScriptSortType#STRING normal CONTEXT should be used)
164
- public static final ScriptContext <Factory > SCRIPT_SORT_CONTEXT = new ScriptContext <>("script_sort " , Factory .class );
164
+ public static final ScriptContext <Factory > SCRIPT_SORT_CONTEXT = new ScriptContext <>("sort " , Factory .class );
165
165
// Can return a float
166
- public static final ScriptContext <Factory > SCRIPT_SCORE_CONTEXT = new ScriptContext <>("script_score " , Factory .class );
166
+ public static final ScriptContext <Factory > SCRIPT_SCORE_CONTEXT = new ScriptContext <>("score " , Factory .class );
167
167
// Can return a long
168
- public static final ScriptContext <Factory > TERMS_SET_QUERY_CONTEXT = new ScriptContext <>("terms_set_query " , Factory .class );
168
+ public static final ScriptContext <Factory > TERMS_SET_QUERY_CONTEXT = new ScriptContext <>("terms_set " , Factory .class );
169
169
}
You can’t perform that action at this time.
0 commit comments