de.spinscale.elasticsearch.action.suggest.suggest
Class ShardSuggestRequest
java.lang.Object
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.support.broadcast.BroadcastShardOperationRequest
de.spinscale.elasticsearch.action.suggest.suggest.ShardSuggestRequest
- All Implemented Interfaces:
- org.elasticsearch.common.io.stream.Streamable
public class ShardSuggestRequest
- extends org.elasticsearch.action.support.broadcast.BroadcastShardOperationRequest
| Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest |
org.elasticsearch.transport.TransportRequest.Empty |
| Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastShardOperationRequest |
index, shardId |
| Methods inherited from class org.elasticsearch.transport.TransportRequest |
getHeader, getHeaders, putHeader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShardSuggestRequest
public ShardSuggestRequest()
ShardSuggestRequest
public ShardSuggestRequest(String index,
int shardId,
SuggestRequest request)
size
public int size()
size
public void size(int size)
field
public String field()
field
public void field(String field)
similarity
public float similarity()
similarity
public void similarity(float similarity)
term
public String term()
term
public void term(String term)
suggestType
public String suggestType()
suggestType
public void suggestType(String suggestType)
types
public String[] types()
queryAnalyzer
public String queryAnalyzer()
queryAnalyzer
public void queryAnalyzer(String queryAnalyzer)
indexAnalyzer
public String indexAnalyzer()
indexAnalyzer
public void indexAnalyzer(String indexAnalyzer)
readFrom
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws IOException
- Specified by:
readFrom in interface org.elasticsearch.common.io.stream.Streamable- Overrides:
readFrom in class org.elasticsearch.action.support.broadcast.BroadcastShardOperationRequest
- 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- Overrides:
writeTo in class org.elasticsearch.action.support.broadcast.BroadcastShardOperationRequest
- Throws:
IOException
Copyright © 2011-2013. All Rights Reserved.