public class FSOMapFileLexiconUtilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
FSOMapFileLexiconUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static void |
optimise(String structureName,
IndexOnDisk index,
LexiconBuilder.CollectionStatisticsCounter statsCounter)
Does two things to a FSOMapFileLexicon: adds the termid lookup file (if required),
and also creates the lexicon has file.
|
static void |
optimise(String structureName,
IndexOnDisk index,
LexiconBuilder.CollectionStatisticsCounter statsCounter,
int numEntries)
optimise
|
public static void optimise(String structureName, IndexOnDisk index, LexiconBuilder.CollectionStatisticsCounter statsCounter, int numEntries) throws IOException
structureName - index - statsCounter - numEntries - IOExceptionpublic static void optimise(String structureName, IndexOnDisk index, LexiconBuilder.CollectionStatisticsCounter statsCounter) throws IOException
structureName - - name of the index structure that this FSOMapFileLexicon representsindex - - the index that the index belongsIOException - if an IO problem occursTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow