Package org.terrier.structures.indexing
Class FSOMapFileLexiconUtilities
- java.lang.Object
-
- org.terrier.structures.indexing.FSOMapFileLexiconUtilities
-
public class FSOMapFileLexiconUtilities extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description FSOMapFileLexiconUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
optimise(java.lang.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(java.lang.String structureName, IndexOnDisk index, LexiconBuilder.CollectionStatisticsCounter statsCounter, int numEntries)
optimise
-
-
-
Method Detail
-
optimise
public static void optimise(java.lang.String structureName, IndexOnDisk index, LexiconBuilder.CollectionStatisticsCounter statsCounter, int numEntries) throws java.io.IOException
optimise- Parameters:
structureName
-index
-statsCounter
-numEntries
-- Throws:
java.io.IOException
-
optimise
public static void optimise(java.lang.String structureName, IndexOnDisk index, LexiconBuilder.CollectionStatisticsCounter statsCounter) throws java.io.IOException
Does two things to a FSOMapFileLexicon: adds the termid lookup file (if required), and also creates the lexicon has file.- Parameters:
structureName
- - name of the index structure that this FSOMapFileLexicon representsindex
- - the index that the index belongs- Throws:
java.io.IOException
- if an IO problem occurs
-
-