Terrier IR Platform
2.2.1

uk.ac.gla.terrier.structures.upgrading
Class Terrier1xxIndexUpgrader

java.lang.Object
  extended by uk.ac.gla.terrier.structures.upgrading.aIndexUpgrader
      extended by uk.ac.gla.terrier.structures.upgrading.Terrier1xxIndexUpgrader

public class Terrier1xxIndexUpgrader
extends aIndexUpgrader

Class to upgrade a Terrier 1.x index. Can be invoked from the command line using uk.ac.gla.terrier.structures.upgrading.UpgradeIndex

Since:
2.0
Version:
$Revision: 1.3 $
Author:
Craig Macdonald
See Also:
UpgradeIndex

Constructor Summary
Terrier1xxIndexUpgrader(Index sourceIndex, Index destIndex)
          Create a new IndexUpgrader from sourceIndex to destIndex.
 
Method Summary
 void upgrade()
          upgrade this index, source Index read, destination Index written
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Terrier1xxIndexUpgrader

public Terrier1xxIndexUpgrader(Index sourceIndex,
                               Index destIndex)
Create a new IndexUpgrader from sourceIndex to destIndex.

Parameters:
sourceIndex - Index to use as the source of the upgrade
destIndex - Fresh Index to use as the destination of the upgrade
Method Detail

upgrade

public void upgrade()
             throws java.lang.Exception
upgrade this index, source Index read, destination Index written

Specified by:
upgrade in class aIndexUpgrader
Throws:
java.lang.Exception

Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow