rename field to path in _analyzer mapping
This commit is contained in:
parent
6b5e884b93
commit
8e2db2c68f
|
@ -74,6 +74,10 @@ public class AnalyzerMapper implements XContentMapper {
|
|||
|
||||
private final String path;
|
||||
|
||||
public AnalyzerMapper() {
|
||||
this(Defaults.PATH);
|
||||
}
|
||||
|
||||
public AnalyzerMapper(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ public class XContentDocumentMapper implements DocumentMapper, ToXContent {
|
|||
|
||||
private AllFieldMapper allFieldMapper = new AllFieldMapper();
|
||||
|
||||
private AnalyzerMapper analyzerMapper = new AnalyzerMapper(null);
|
||||
private AnalyzerMapper analyzerMapper = new AnalyzerMapper();
|
||||
|
||||
private NamedAnalyzer indexAnalyzer;
|
||||
|
||||
|
|
Loading…
Reference in New Issue