/** * 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); }