public class Terrier4 extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
path |
protected String |
prefix |
protected Properties |
properties |
Constructor and Description |
---|
Terrier4()
Use this method when you wish to specify the properties object to rewrite
|
Terrier4(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 3.x
index to making compatible with Terrier 4.x
|
protected Properties properties
protected String path
protected String prefix
public Terrier4()
public static void main(String[] args)
public void updateIndexProperties()
public void updateIndexProperties(Properties indexProperties)
indexProperties
- properties object to alterTerrier 4.0. Copyright © 2004-2014 University of Glasgow