Skip to content

Commit

Permalink
Support field exclusion from source.
Browse files Browse the repository at this point in the history
Original Pull Request #1962 
Closes #769
  • Loading branch information
sothawo authored Oct 16, 2021
1 parent 59fdbbe commit 288705c
Show file tree
Hide file tree
Showing 4 changed files with 441 additions and 319 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,16 @@
/**
* Controls how Elasticsearch dynamically adds fields to the inner object within the document.<br>
* To be used in combination with {@link FieldType#Object} or {@link FieldType#Nested}
*
*
* @since 4.3
*/
Dynamic dynamic() default Dynamic.INHERIT;

/**
* marks this field to be excluded from the _source in Elasticsearch
* (https://www.elastic.co/guide/en/elasticsearch/reference/7.15.0/mapping-source-field.html#include-exclude)
*
* @since 4.3
*/
boolean excludeFromSource() default false;
}
Loading

0 comments on commit 288705c

Please # to comment.