public class IRSection extends Object implements Comparable
IRCollection is the data structure for document section indexing
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Field and Description |
|---|---|
static int |
DEF_SEC_NUM |
static int |
SEC_ABSTRACT |
static int |
SEC_ALL |
static int |
SEC_BODY |
static int |
SEC_META |
static int |
SEC_TITLE |
| Constructor and Description |
|---|
IRSection(int section) |
IRSection(int section,
String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
IRSection |
copy() |
void |
disable() |
void |
enable() |
boolean |
enabled() |
IndexReader |
getIndexReader() |
IndexWriter |
getIndexWriter() |
int |
getSectionID() |
String |
getSectionName() |
double |
getWeight() |
void |
setIndexReader(IndexReader reader) |
void |
setIndexWriter(IndexWriter writer) |
void |
setWeight(double weight) |
public static final int SEC_ALL
public static final int SEC_TITLE
public static final int SEC_ABSTRACT
public static final int SEC_BODY
public static final int SEC_META
public static final int DEF_SEC_NUM
public IRSection(int section)
public IRSection(int section,
String name)
public IRSection copy()
public int compareTo(Object obj)
compareTo in interface Comparablepublic String getSectionName()
public int getSectionID()
public void setWeight(double weight)
public double getWeight()
public IndexWriter getIndexWriter()
public void setIndexWriter(IndexWriter writer)
public IndexReader getIndexReader()
public void setIndexReader(IndexReader reader)
public boolean enabled()
public void enable()
public void disable()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.