public class IndexingJob extends Configured implements Tool
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
IndexingJob() |
IndexingJob(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
index(Path crawlDb,
Path linkDb,
List<Path> segments,
boolean noCommit) |
void |
index(Path crawlDb,
Path linkDb,
List<Path> segments,
boolean noCommit,
boolean deleteGone) |
void |
index(Path crawlDb,
Path linkDb,
List<Path> segments,
boolean noCommit,
boolean deleteGone,
String params) |
void |
index(Path crawlDb,
Path linkDb,
List<Path> segments,
boolean noCommit,
boolean deleteGone,
String params,
boolean filter,
boolean normalize) |
static void |
main(String[] args) |
int |
run(String[] args) |
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public IndexingJob()
public IndexingJob(Configuration conf)
public void index(Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit) throws IOException
IOException
public void index(Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit, boolean deleteGone) throws IOException
IOException
public void index(Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit, boolean deleteGone, String params) throws IOException
IOException
public void index(Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit, boolean deleteGone, String params, boolean filter, boolean normalize) throws IOException
IOException
Copyright © 2015 The Apache Software Foundation