类 MultiTermVectorsRequest
java.lang.Object
org.easysearch.client.core.MultiTermVectorsRequest
- 所有已实现的接口:
Validatable,org.easysearch.common.xcontent.ToXContent,org.easysearch.common.xcontent.ToXContentObject
public class MultiTermVectorsRequest extends java.lang.Object implements org.easysearch.common.xcontent.ToXContentObject, Validatable
-
嵌套类概要
从接口继承的嵌套类/接口 org.easysearch.common.xcontent.ToXContent
org.easysearch.common.xcontent.ToXContent.DelegatingMapParams, org.easysearch.common.xcontent.ToXContent.MapParams, org.easysearch.common.xcontent.ToXContent.Params -
字段概要
从接口继承的字段 org.easysearch.common.xcontent.ToXContent
EMPTY_PARAMS从接口继承的字段 org.easysearch.client.Validatable
EMPTY -
构造器概要
构造器 构造器 说明 MultiTermVectorsRequest()Constructs an empty MultiTermVectorsRequest After that useaddmethod to add individualTermVectorsRequestto it.MultiTermVectorsRequest(java.lang.String[] ids, TermVectorsRequest template)Constructs a MultiTermVectorsRequest from the given document ids and a templateTermVectorsRequest. -
方法概要
修饰符和类型 方法 说明 voidadd(TermVectorsRequest request)Adds anotherTermVectorsRequestto thisMultiTermVectorsRequestorg.easysearch.common.xcontent.XContentBuildertoXContent(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params)从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.easysearch.common.xcontent.ToXContentObject
isFragment从接口继承的方法 org.easysearch.client.Validatable
validate
-
构造器详细资料
-
MultiTermVectorsRequest
public MultiTermVectorsRequest()Constructs an empty MultiTermVectorsRequest After that useaddmethod to add individualTermVectorsRequestto it. -
MultiTermVectorsRequest
Constructs a MultiTermVectorsRequest from the given document ids and a templateTermVectorsRequest. Used when individual requests share the same index, type and other settings.- 参数:
ids- - ids of documents for which term vectors are requestedtemplate- - a templateTermVectorsRequestthat allows to set all settings only once for all requests.
-
-
方法详细资料
-
add
Adds anotherTermVectorsRequestto thisMultiTermVectorsRequest- 参数:
request- -TermVectorsRequestto add
-
toXContent
public org.easysearch.common.xcontent.XContentBuilder toXContent(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- 指定者:
toXContent在接口中org.easysearch.common.xcontent.ToXContent- 抛出:
java.io.IOException
-