public UidFieldMapper uidMapper() { return metadataMapper(UidFieldMapper.class); }
public TypeFieldMapper typeMapper() { return metadataMapper(TypeFieldMapper.class); }
public IdFieldMapper idFieldMapper() { return metadataMapper(IdFieldMapper.class); }
public AllFieldMapper allFieldMapper() { return metadataMapper(AllFieldMapper.class); }
public RoutingFieldMapper routingFieldMapper() { return metadataMapper(RoutingFieldMapper.class); }
public IndexFieldMapper indexMapper() { return metadataMapper(IndexFieldMapper.class); }
public SourceFieldMapper sourceMapper() { return metadataMapper(SourceFieldMapper.class); }
public ParentFieldMapper parentFieldMapper() { return metadataMapper(ParentFieldMapper.class); }
public IndexFieldMapper IndexFieldMapper() { return metadataMapper(IndexFieldMapper.class); }
protected void createFieldNamesField(ParseContext context, List<IndexableField> fields) { FieldNamesFieldType fieldNamesFieldType = (FieldNamesFieldMapper.FieldNamesFieldType) context.docMapper() .metadataMapper(FieldNamesFieldMapper.class).fieldType(); if (fieldNamesFieldType != null && fieldNamesFieldType.isEnabled()) { for (String fieldName : FieldNamesFieldMapper.extractFieldNames(fieldType().name())) { fields.add(new Field(FieldNamesFieldMapper.NAME, fieldName, fieldNamesFieldType)); } } }
this.documentParser = new DocumentParser(indexSettings, mapperService.documentMapperParser(), this); if (metadataMapper(ParentFieldMapper.class).active()) { metadataMapper(RoutingFieldMapper.class).markAsRequired();
public NodeFieldMapper nodeFieldMapper() { return metadataMapper(NodeFieldMapper.class); }
public ParentFieldMapper parentFieldMapper() { return metadataMapper(ParentFieldMapper.class); }
public TimestampFieldMapper timestampFieldMapper() { return metadataMapper(TimestampFieldMapper.class); }
public IndexFieldMapper indexMapper() { return metadataMapper(IndexFieldMapper.class); }
public UidFieldMapper uidMapper() { return metadataMapper(UidFieldMapper.class); }
public TypeFieldMapper typeMapper() { return metadataMapper(TypeFieldMapper.class); }
public ParentFieldMapper parentFieldMapper() { return metadataMapper(ParentFieldMapper.class); }
protected void createFieldNamesField(ParseContext context, List<IndexableField> fields) { FieldNamesFieldType fieldNamesFieldType = (FieldNamesFieldMapper.FieldNamesFieldType) context.docMapper() .metadataMapper(FieldNamesFieldMapper.class).fieldType(); if (fieldNamesFieldType != null && fieldNamesFieldType.isEnabled()) { for (String fieldName : FieldNamesFieldMapper.extractFieldNames(fieldType().name())) { fields.add(new Field(FieldNamesFieldMapper.NAME, fieldName, fieldNamesFieldType)); } } }
protected void createFieldNamesField(ParseContext context, List<IndexableField> fields) { FieldNamesFieldType fieldNamesFieldType = (FieldNamesFieldMapper.FieldNamesFieldType) context.docMapper() .metadataMapper(FieldNamesFieldMapper.class).fieldType(); if (fieldNamesFieldType != null && fieldNamesFieldType.isEnabled()) { for (String fieldName : FieldNamesFieldMapper.extractFieldNames(fieldType().name())) { fields.add(new Field(FieldNamesFieldMapper.NAME, fieldName, fieldNamesFieldType)); } } }