MCPcopy Create free account
hub / github.com/apache/nutch / getFields

Method getFields

src/java/org/apache/nutch/indexer/IndexingJob.java:127–135  ·  view source on GitHub ↗
(Job job)

Source from the content-addressed store, hash-verified

125 }
126
127 private static Collection<WebPage.Field> getFields(Job job) {
128 Configuration conf = job.getConfiguration();
129 Collection<WebPage.Field> columns = new HashSet<WebPage.Field>(FIELDS);
130 IndexingFilters filters = new IndexingFilters(conf);
131 columns.addAll(filters.getFields());
132 ScoringFilters scoringFilters = new ScoringFilters(conf);
133 columns.addAll(scoringFilters.getFields());
134 return columns;
135 }
136
137 @Override
138 public Map<String, Object> run(Map<String, Object> args) throws Exception {

Callers 1

runMethod · 0.95

Calls 3

getFieldsMethod · 0.95
getFieldsMethod · 0.95
getConfigurationMethod · 0.45

Tested by

no test coverage detected