public IndexerConfBuilder addDocumentExtractDefinition(String prefix, String valueExpression, ValueSource valueSource, String type, Map<String, String> params) { documentExtractDefinitions.add(new DocumentExtractDefinition(prefix, valueExpression, valueSource == null ? IndexerConf.DEFAULT_VALUE_SOURCE : valueSource, type == null ? IndexerConf.DEFAULT_EXTRACT_TYPE : type, params)); return this; }
public IndexerConfBuilder addDocumentExtractDefinition(String prefix, String valueExpression, ValueSource valueSource, String type, Map<String, String> params) { documentExtractDefinitions.add(new DocumentExtractDefinition(prefix, valueExpression, valueSource == null ? IndexerConf.DEFAULT_VALUE_SOURCE : valueSource, type == null ? IndexerConf.DEFAULT_EXTRACT_TYPE : type, params)); return this; }