QueryBuilder qb = scriptQuery(
new Script("doc['num1'].value > 1")
);
Located here :- ScriptQuery
I'm getting :- "The method scriptQuery(Script) is undefined for the type App"
I have already imported :-
import org.elasticsearch.script.;
import org.elasticsearch.index.query.ScriptQueryBuilder.;
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.