public abstract class AbstractSequenceIndexer extends Object implements Indexer
The abstract indexer for indexing sequencial data
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
initialized |
protected AbstractSequenceIndexWriter |
writer |
| Constructor and Description |
|---|
AbstractSequenceIndexer(ConceptExtractor ce) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method releases occupied resources.
|
boolean |
index(Article article)
An article has many sections such as title, abstract and body.
|
boolean |
indexed(String docKey) |
void |
initialize()
It is required to call this method before calling index method to index articles.
|
void |
setLog(String logFile) |
void |
setSectionIndexOption(boolean title,
boolean abt,
boolean body,
boolean meta) |
protected void |
writeLog(String content) |
protected AbstractSequenceIndexWriter writer
protected boolean initialized
public AbstractSequenceIndexer(ConceptExtractor ce)
public void setSectionIndexOption(boolean title,
boolean abt,
boolean body,
boolean meta)
public void initialize()
Indexerinitialize in interface Indexerpublic void close()
Indexerpublic boolean index(Article article)
Indexerpublic boolean indexed(String docKey)
protected void writeLog(String content)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.