|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.creativecommons.nutch.CCDeleteUnlicensedTool
public class CCDeleteUnlicensedTool
Deletes documents in a set of Lucene indexes that do not have a Creative Commons license.
Constructor Summary | |
---|---|
CCDeleteUnlicensedTool(IndexReader[] readers)
Constructs a duplicate detector for the provided indexes. |
Method Summary | |
---|---|
void |
close()
Closes the indexes, saving changes. |
int |
deleteUnlicensed()
Delete pages without CC licenes. |
static void |
main(String[] args)
Delete duplicates in the indexes in the named directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CCDeleteUnlicensedTool(IndexReader[] readers)
Method Detail |
---|
public void close() throws IOException
IOException
public int deleteUnlicensed() throws IOException
IOException
public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |