Constructor and Description |
---|
ScriptScoreFunction(String sScript,
Map<String,Object> params,
SearchScript script) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExplainableSearchScript
To be implemented by
SearchScript which can provided an Explanation of the score
This is currently not used inside elasticsearch but it is used, see for example here:
https://github.com/elasticsearch/elasticsearch/issues/8561 |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDoubleSearchScript
A simpler base class instead of
AbstractSearchScript for computations
that return a double number. |
class |
AbstractFloatSearchScript
A simpler base class instead of
AbstractSearchScript for computations
that return a float number. |
class |
AbstractLongSearchScript
A simpler base class instead of
AbstractSearchScript for computations
that return a long number. |
class |
AbstractSearchScript
A base class for any script type that is used during the search process (custom score, facets, and so on).
|
Modifier and Type | Method and Description |
---|---|
SearchScript |
ScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
SearchScript |
NativeScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
SearchScript |
ScriptService.search(SearchLookup lookup,
String lang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> vars)
Compiles (or retrieves from cache) and executes the provided search script
|
Modifier and Type | Method and Description |
---|---|
SearchScript |
ExpressionScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Modifier and Type | Class and Description |
---|---|
static class |
GroovyScriptEngineService.GroovyScript |
Modifier and Type | Method and Description |
---|---|
SearchScript |
GroovyScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
SearchScript |
MustacheScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
SearchScript |
ValuesSourceConfig.script() |
SearchScript |
ScriptValues.script() |
Modifier and Type | Method and Description |
---|---|
ValuesSourceConfig<VS> |
ValuesSourceConfig.script(SearchScript script) |
Constructor and Description |
---|
Script(SearchScript script) |
Script(SearchScript script,
ValueType scriptValueType) |
WithScript(ValuesSource.Numeric delegate,
SearchScript script) |
WithScript(ValuesSource delegate,
SearchScript script) |
Modifier and Type | Method and Description |
---|---|
SearchScript |
ScriptLongValues.script() |
SearchScript |
ScriptDoubleValues.script() |
SearchScript |
ScriptBytesValues.script() |
Constructor and Description |
---|
ScriptBytesValues(SearchScript script) |
ScriptDoubleValues(SearchScript script) |
ScriptLongValues(SearchScript script) |
Modifier and Type | Field and Description |
---|---|
protected SearchScript |
ValueScriptDateHistogramFacetExecutor.DateHistogramProc.valueScript |
Constructor and Description |
---|
DateHistogramProc(Rounding tzRounding,
SearchScript valueScript,
com.carrotsearch.hppc.LongObjectOpenHashMap<InternalFullDateHistogramFacet.FullEntry> entries) |
ValueScriptDateHistogramFacetExecutor(IndexNumericFieldData keyIndexFieldData,
SearchScript valueScript,
Rounding tzRounding,
DateHistogramFacet.ComparatorType comparatorType,
CacheRecycler cacheRecycler) |
Constructor and Description |
---|
ScriptAggregator(GeoDistance.FixedSourceDistance fixedSourceDistance,
GeoDistanceFacet.Entry[] entries,
SearchScript script) |
Constructor and Description |
---|
HistogramProc(long interval,
SearchScript valueScript,
com.carrotsearch.hppc.LongObjectOpenHashMap<InternalFullHistogramFacet.FullEntry> entries) |
Constructor and Description |
---|
AggregatorValueProc(com.carrotsearch.hppc.DoubleIntOpenHashMap facets,
Set<org.apache.lucene.util.BytesRef> excluded,
SearchScript script) |
TermsDoubleFacetExecutor(IndexNumericFieldData indexFieldData,
int size,
int shardSize,
TermsFacet.ComparatorType comparatorType,
boolean allTerms,
SearchContext context,
com.google.common.collect.ImmutableSet<org.apache.lucene.util.BytesRef> excluded,
SearchScript script,
CacheRecycler cacheRecycler) |
Constructor and Description |
---|
AggregatorValueProc(com.carrotsearch.hppc.LongIntOpenHashMap facets,
Set<org.apache.lucene.util.BytesRef> excluded,
SearchScript script) |
TermsLongFacetExecutor(IndexNumericFieldData indexFieldData,
int size,
int shardSize,
TermsFacet.ComparatorType comparatorType,
boolean allTerms,
SearchContext context,
com.google.common.collect.ImmutableSet<org.apache.lucene.util.BytesRef> excluded,
SearchScript script,
CacheRecycler cacheRecycler) |
Constructor and Description |
---|
FieldsTermsStringFacetExecutor(FieldMapper[] fieldMappers,
int size,
int shardSize,
TermsFacet.ComparatorType comparatorType,
boolean allTerms,
SearchContext context,
com.google.common.collect.ImmutableSet<org.apache.lucene.util.BytesRef> excluded,
Pattern pattern,
SearchScript script) |
HashedScriptAggregator(com.google.common.collect.ImmutableSet<org.apache.lucene.util.BytesRef> excluded,
Pattern pattern,
SearchScript script) |
TermsStringFacetExecutor(IndexFieldData indexFieldData,
int size,
int shardSize,
TermsFacet.ComparatorType comparatorType,
boolean allTerms,
SearchContext context,
com.google.common.collect.ImmutableSet<org.apache.lucene.util.BytesRef> excluded,
Pattern pattern,
SearchScript script) |
Constructor and Description |
---|
ScriptAggregator(com.carrotsearch.hppc.DoubleObjectOpenHashMap<InternalTermsStatsDoubleFacet.DoubleEntry> entries,
SearchScript script) |
TermsStatsDoubleFacetExecutor(IndexNumericFieldData keyIndexFieldData,
IndexNumericFieldData valueIndexFieldData,
SearchScript script,
int size,
int shardSize,
TermsStatsFacet.ComparatorType comparatorType,
SearchContext context) |
Constructor and Description |
---|
ScriptAggregator(com.carrotsearch.hppc.LongObjectOpenHashMap<InternalTermsStatsLongFacet.LongEntry> entries,
SearchScript script) |
TermsStatsLongFacetExecutor(IndexNumericFieldData keyIndexFieldData,
IndexNumericFieldData valueIndexFieldData,
SearchScript script,
int size,
int shardSize,
TermsStatsFacet.ComparatorType comparatorType,
SearchContext context) |
Constructor and Description |
---|
ScriptAggregator(com.carrotsearch.hppc.ObjectObjectOpenHashMap<HashedBytesRef,InternalTermsStatsStringFacet.StringEntry> entries,
SearchScript script) |
TermsStatsStringFacetExecutor(IndexFieldData keyIndexFieldData,
IndexNumericFieldData valueIndexFieldData,
SearchScript valueScript,
int size,
int shardSize,
TermsStatsFacet.ComparatorType comparatorType,
SearchContext context) |
Modifier and Type | Method and Description |
---|---|
SearchScript |
ScriptFieldsContext.ScriptField.script() |
Constructor and Description |
---|
ScriptField(String name,
SearchScript script,
boolean ignoreException) |
Copyright © 2009–2015. All rights reserved.