mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Convert IndexVersion.CURRENT to a method with a pluggable interface (#97132)
This commit is contained in:
parent
936dbc0379
commit
a873e26cf7
116 changed files with 315 additions and 289 deletions
|
@ -29,7 +29,7 @@ public class AnnotatedTextFieldTypeTests extends FieldTypeTestCase {
|
|||
}
|
||||
|
||||
public void testFetchSourceValue() throws IOException {
|
||||
MappedFieldType fieldType = new AnnotatedTextFieldMapper.Builder("field", IndexVersion.CURRENT, createDefaultIndexAnalyzers())
|
||||
MappedFieldType fieldType = new AnnotatedTextFieldMapper.Builder("field", IndexVersion.current(), createDefaultIndexAnalyzers())
|
||||
.build(MapperBuilderContext.root(false))
|
||||
.fieldType();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue