public interface ShardSearchRequest
SearchContext
needs.
Provides a cache key based on its content that can be used to cache shard level response.Modifier and Type | Method and Description |
---|---|
BytesReference |
cacheKey()
Returns the cache key for this shard search request, based on its content
|
BytesReference |
extraSource() |
String[] |
filteringAliases() |
String |
index() |
long |
nowInMillis() |
int |
numberOfShards() |
Boolean |
queryCache() |
Scroll |
scroll() |
SearchType |
searchType() |
int |
shardId() |
BytesReference |
source() |
void |
source(BytesReference source) |
String |
templateName() |
Map<String,Object> |
templateParams() |
BytesReference |
templateSource() |
ScriptService.ScriptType |
templateType() |
String[] |
types() |
boolean |
useSlowScroll()
This setting is internal and will be enabled when at least one node is on versions 1.0.x and 1.1.x to enable
scrolling that those versions support.
|
String index()
int shardId()
String[] types()
BytesReference source()
void source(BytesReference source)
BytesReference extraSource()
int numberOfShards()
SearchType searchType()
String[] filteringAliases()
long nowInMillis()
String templateName()
ScriptService.ScriptType templateType()
BytesReference templateSource()
Boolean queryCache()
Scroll scroll()
boolean useSlowScroll()
BytesReference cacheKey() throws IOException
IOException
Copyright © 2009–2015. All rights reserved.