public class Terrier5 extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
path |
protected String |
prefix |
protected Properties |
properties |
Constructor and Description |
---|
Terrier5()
Use this method when you wish to specify the properties object to rewrite
|
Terrier5(String path,
String prefix)
Use this method to load an index data.properties file and rewrite it
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
loadProperties(String path,
String prefix)
loads in the properties file, falling back to the Terrier 1.xx log file
if no properties exist.
|
static void |
main(String[] args) |
void |
updateIndexProperties() |
void |
updateIndexProperties(Properties indexProperties)
This method takes re-writes the index properties for a Terrier 4.x
index to making compatible with Terrier 5.x
|
protected Properties properties
protected String path
protected String prefix
public Terrier5()
public static void main(String[] args)
public void updateIndexProperties()
public void updateIndexProperties(Properties indexProperties)
indexProperties
- properties object to alterTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow