本文整理汇总了Java中org.elasticsearch.script.NativeScriptFactory类的典型用法代码示例。如果您正苦于以下问题:Java NativeScriptFactory类的具体用法?Java NativeScriptFactory怎么用?Java NativeScriptFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
NativeScriptFactory类属于org.elasticsearch.script包,在下文中一共展示了NativeScriptFactory类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
// add all your script instances to the list
List<NativeScriptFactory> list = new ArrayList<>();
list.add(new ScoreScript.Factory());
return list;
}
示例2: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Arrays.asList(
new IsPrimeSearchScriptFactory(settings),
new InitScriptFactory(),
new MapScriptFactory(),
new CombineScriptFactory(),
new ReduceScriptFactory()
);
}
示例3: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
/**
* Returns a list of {@link NativeScriptFactory} instances.
*/
default List<NativeScriptFactory> getNativeScripts() {
return Collections.emptyList();
}
示例4: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new CustomNativeScriptFactory());
}
示例5: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Arrays.asList(new NativeSignificanceScoreScriptNoParams.Factory(),
new NativeSignificanceScoreScriptWithParams.Factory());
}
示例6: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Arrays.asList(new ExtractFieldScriptFactory(), new PlusOneMonthScriptFactory());
}
示例7: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new DummyScriptFactory());
}
示例8: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new ExplainableScriptIT.MyNativeScriptFactory());
}
示例9: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new NativeTestScriptedTimeout.Factory());
}
示例10: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(scriptedBlockFactory);
}
示例11: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new DeletePlzFactory());
}
示例12: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new FeatureVectorScoringSearchScript.ScriptFactory());
}
开发者ID:ginobefun,项目名称:elasticsearch-feature-vector-scoring,代码行数:5,代码来源:FeatureVectorScoringPlugin.java
示例13: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new PayloadVectorScoreScript.Factory());
}
示例14: getNativeScripts
import org.elasticsearch.script.NativeScriptFactory; //导入依赖的package包/类
@Override
public List<NativeScriptFactory> getNativeScripts() {
return Collections.singletonList(new VectorScriptFactory());
}