|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--dragon.ir.index.sequence.AbstractSequenceIndexer
The abstract indexer for indexing sequencial data
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Field Summary | |
protected boolean |
initialized
|
protected AbstractSequenceIndexWriter |
writer
|
| Constructor Summary | |
AbstractSequenceIndexer(ConceptExtractor ce)
|
|
| Method Summary | |
void |
close()
This method releases occupied resources. |
boolean |
index(Article article)
An article has many sections such as title, abstract and body. |
boolean |
indexed(java.lang.String docKey)
|
void |
initialize()
It is required to call this method before calling index method to index articles. |
void |
setLog(java.lang.String logFile)
|
void |
setSectionIndexOption(boolean title,
boolean abt,
boolean body,
boolean meta)
|
protected void |
writeLog(java.lang.String content)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected AbstractSequenceIndexWriter writer
protected boolean initialized
| Constructor Detail |
public AbstractSequenceIndexer(ConceptExtractor ce)
| Method Detail |
public void setSectionIndexOption(boolean title,
boolean abt,
boolean body,
boolean meta)
public void initialize()
Indexer
initialize in interface Indexerpublic void close()
Indexer
close in interface Indexerpublic boolean index(Article article)
Indexer
index in interface Indexerarticle - the article for indexing
public void setLog(java.lang.String logFile)
setLog in interface Indexerpublic boolean indexed(java.lang.String docKey)
indexed in interface IndexerdocKey - the unique document entry number
protected void writeLog(java.lang.String content)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||