You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MappedFieldType should not extend FieldType (elastic#57666)
MappedFieldType is a combination of two concerns:
* an extension of lucene's FieldType, defining how a field should be indexed
* a set of query factory methods, defining how a field should be searched
We want to break these two concerns apart. This commit is a first step to doing this, breaking
the inheritance relationship between MappedFieldType and FieldType. MappedFieldType
instead has a series of boolean flags defining whether or not the field is searchable or
aggregatable, and FieldMapper has a separate FieldType passed to its constructor defining
how indexing should be done.
Relates to elastic#56814
Copy file name to clipboardExpand all lines: modules/aggs-matrix-stats/src/test/java/org/elasticsearch/search/aggregations/matrix/stats/MatrixStatsAggregatorTests.java
+6-13
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,7 @@ public class MatrixStatsAggregatorTests extends AggregatorTestCase {
Copy file name to clipboardExpand all lines: modules/lang-expression/src/test/java/org/elasticsearch/script/expression/ExpressionNumberSortScriptTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ public class ExpressionNumberSortScriptTests extends ESTestCase {
Copy file name to clipboardExpand all lines: modules/lang-expression/src/test/java/org/elasticsearch/script/expression/ExpressionTermsSetQueryTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ public class ExpressionTermsSetQueryTests extends ESTestCase {
0 commit comments