Uses of Class
co.elasticsearch.enterprisesearch.client.model.request.search.ResultField
-
Packages that use ResultField Package Description co.elasticsearch.enterprisesearch.client.model.request.search co.elasticsearch.enterprisesearch.client.model.response.searchsettings -
-
Uses of ResultField in co.elasticsearch.enterprisesearch.client.model.request.search
Methods in co.elasticsearch.enterprisesearch.client.model.request.search that return ResultField Modifier and Type Method Description ResultFieldResultField. setName(String name)The name of the fieldResultFieldResultField. setRaw(co.elasticsearch.enterprisesearch.client.model.request.search.ResultFieldRendered raw)An exact representation of the value within a field.ResultFieldResultField. setSnippet(co.elasticsearch.enterprisesearch.client.model.request.search.ResultFieldRendered snippet)A snippet is an HTML escaped representation of the value within a field, where query matches are captured in<em>tags.ResultFieldResultField. withoutRaw()Disable the return of the raw representation of this fieldResultFieldResultField. withoutSnippet()Disable the return of the snippet representation of this fieldResultFieldResultField. withRaw()Enable the return of the raw representation of this fieldResultFieldResultField. withRaw(int size)Enable the return of the raw representation of this field, with the given field size maxResultFieldResultField. withSnippet()Enable the return of the snippet representation of this fieldResultFieldResultField. withSnippet(int size)Enable the return of the snippet representation of this field, with the given max lengthResultFieldResultField. withSnippet(int size, Boolean fallback)Enable the return of the snippet representation of this field, with given max length, and fallback field configResultFieldResultField. withSnippet(Boolean fallback)Enable the return of the snippet representation of this field, with fallback field configMethods in co.elasticsearch.enterprisesearch.client.model.request.search that return types with arguments of type ResultField Modifier and Type Method Description List<ResultField>SearchRequest. getResultFields()Get the result fieldsMethods in co.elasticsearch.enterprisesearch.client.model.request.search with parameters of type ResultField Modifier and Type Method Description SearchRequestSearchRequest. withResultFields(ResultField... fields)Change the fields which appear in search results and how their values are rendered. -
Uses of ResultField in co.elasticsearch.enterprisesearch.client.model.response.searchsettings
Methods in co.elasticsearch.enterprisesearch.client.model.response.searchsettings that return types with arguments of type ResultField Modifier and Type Method Description Collection<ResultField>SearchSettings. getResults()Get the result fieldsMethods in co.elasticsearch.enterprisesearch.client.model.response.searchsettings with parameters of type ResultField Modifier and Type Method Description SearchSettingsSearchSettings. addResultField(ResultField resultField)Add a result field to the settings
-