@FunctionalInterface
public interface SearchExtParser<T extends SearchExtBuilder>
SearchExtBuilder
s
from XContent
.
Registration happens through SearchPlugin.getSearchExts()
, which also needs a SearchExtBuilder
implementation which is the object that this parser returns when reading an incoming request form the REST layer.SearchExtBuilder
,
SearchPlugin.SearchExtSpec
Modifier and Type | Method and Description |
---|---|
T |
fromXContent(XContentParser parser)
Parses the supported element placed within the ext section of a search request
|
T fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException