de.spinscale.elasticsearch.action.suggest.suggest
Class ShardSuggestRequest

java.lang.Object
  extended by org.elasticsearch.transport.TransportRequest
      extended by org.elasticsearch.action.support.broadcast.BroadcastShardOperationRequest
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
org.elasticsearch.transport.TransportRequest.Empty
 
Constructor Summary
ShardSuggestRequest()
           
ShardSuggestRequest(String index, int shardId, SuggestRequest request)
           
 
Method Summary
 String field()
           
 void field(String field)
           
 String indexAnalyzer()
           
 void indexAnalyzer(String indexAnalyzer)
           
 String queryAnalyzer()
           
 void queryAnalyzer(String queryAnalyzer)
           
 void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
           
 float similarity()
           
 void similarity(float similarity)
           
 int size()
           
 void size(int size)
           
 String suggestType()
           
 void suggestType(String suggestType)
           
 String term()
           
 void term(String term)
           
 String[] types()
           
 void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
           
 
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
 

Constructor Detail

ShardSuggestRequest

public ShardSuggestRequest()

ShardSuggestRequest

public ShardSuggestRequest(String index,
                           int shardId,
                           SuggestRequest request)
Method Detail

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.