de.spinscale.elasticsearch.service.suggest
Class ShardSuggestService.FieldType
java.lang.Object
de.spinscale.elasticsearch.service.suggest.ShardSuggestService.FieldType
- All Implemented Interfaces:
- Serializable, org.elasticsearch.common.io.stream.Streamable, org.elasticsearch.common.xcontent.ToXContent
- Enclosing class:
- ShardSuggestService
public static class ShardSuggestService.FieldType
- extends Object
- implements org.elasticsearch.common.io.stream.Streamable, Serializable, org.elasticsearch.common.xcontent.ToXContent
- See Also:
- Serialized Form
| 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 |
| Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
EMPTY_PARAMS |
ShardSuggestService.FieldType
public ShardSuggestService.FieldType()
ShardSuggestService.FieldType
public ShardSuggestService.FieldType(ShardSuggestRequest shardSuggestRequest)
field
public String field()
types
public String[] types()
queryAnalyzer
public String queryAnalyzer()
indexAnalyzer
public String indexAnalyzer()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
readFrom
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws IOException
- Specified by:
readFrom in interface org.elasticsearch.common.io.stream.Streamable
- Throws:
IOException
writeTo
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws IOException
- Specified by:
writeTo in interface org.elasticsearch.common.io.stream.Streamable
- Throws:
IOException
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws IOException
- Specified by:
toXContent in interface org.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
Copyright © 2011-2013. All Rights Reserved.