- Common ways to obtain InnerHitBuilder
private void myMethod () {InnerHitBuilder i =
XContentParser parser;InnerHitBuilder.fromXContent(parser)
StreamInput streamInput;streamInput.readOptionalWriteable(InnerHitBuilder::new)
- Smart code suggestions by Codota
}
/** * Sets the stored fields to load and return. * If none are specified, the source of the document will be returned. * * @deprecated Use {@link InnerHitBuilder#setStoredFieldNames(List)} instead. */ @Deprecated public InnerHitBuilder setFieldNames(List<String> fieldNames) { return setStoredFieldNames(fieldNames); }
/** * Sets the stored fields to load and return. * If none are specified, the source of the document will be returned. * * @deprecated Use {@link InnerHitBuilder#setStoredFieldNames(List)} instead. */ @Deprecated public InnerHitBuilder setFieldNames(List<String> fieldNames) { return setStoredFieldNames(fieldNames); }
/** * Sets the stored fields to load and return. * If none are specified, the source of the document will be returned. * * @deprecated Use {@link InnerHitBuilder#setStoredFieldNames(List)} instead. */ @Deprecated public InnerHitBuilder setFieldNames(List<String> fieldNames) { return setStoredFieldNames(fieldNames); }
/** * Sets the stored fields to load and return. * If none are specified, the source of the document will be returned. * * @deprecated Use {@link InnerHitBuilder#setStoredFieldNames(List)} instead. */ @Deprecated public InnerHitBuilder setFieldNames(List<String> fieldNames) { return setStoredFieldNames(fieldNames); }