Package org.elasticsearch.index.query
Class IntervalsSourceProvider
org.elasticsearch.index.query.IntervalsSourceProvider
- All Implemented Interfaces:
NamedWriteable
,Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
- Direct Known Subclasses:
IntervalsSourceProvider.Combine
,IntervalsSourceProvider.Disjunction
,IntervalsSourceProvider.Fuzzy
,IntervalsSourceProvider.Match
,IntervalsSourceProvider.Prefix
,IntervalsSourceProvider.Wildcard
public abstract class IntervalsSourceProvider
extends
implements NamedWriteable, org.elasticsearch.common.xcontent.ToXContentFragment
Factory class for
IntervalsSource
Built-in sources include IntervalsSourceProvider.Match
, which analyzes a text string and converts it
to a proximity source (phrase, ordered or unordered depending on how
strict the matching should be); IntervalsSourceProvider.Combine
, which allows proximity queries
between different sub-sources; and IntervalsSourceProvider.Disjunction
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
other)
abstract void
<> fields)
static IntervalsSourceProvider
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
abstract org.apache.lucene.queries.intervals.IntervalsSource
getSource(SearchExecutionContext context, MappedFieldType fieldType)
abstract int
hashCode()
Methods inherited from class java.lang.
, , , , , , , ,
Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableName
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
IntervalsSourceProvider
public IntervalsSourceProvider()
-
-
Method Details
-
getSource
public abstract org.apache.lucene.queries.intervals.IntervalsSource getSource(SearchExecutionContext context, MappedFieldType fieldType) throws- Throws:
-
extractFields
public abstract void extractFields(<> fields) -
hashCode
public abstract int hashCode()- Overrides:
in class
-
equals
public abstract boolean equals( other)- Overrides:
in class
-
fromXContent
public static IntervalsSourceProvider fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws- Throws:
-