|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.query.xcontent.BaseFilterBuilder org.elasticsearch.index.query.xcontent.PrefixFilterBuilder
public class PrefixFilterBuilder
A filter that restricts search results to values that have a matching prefix in a given field.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.util.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.util.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
PrefixFilterBuilder(java.lang.String name,
java.lang.String prefix)
A filter that restricts search results to values that have a matching prefix in a given field. |
Method Summary | |
---|---|
void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
|
Methods inherited from class org.elasticsearch.index.query.xcontent.BaseFilterBuilder |
---|
toXContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrefixFilterBuilder(java.lang.String name, java.lang.String prefix)
name
- The field nameprefix
- The prefixMethod Detail |
---|
public void doXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContent
in class BaseFilterBuilder
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |