public class InvertedIndexRecompresser extends CLITool
IntegerCodecCompressionConfiguration
If you are targetting IntegerCodecCompressionConfiguration, you probably need the following properties:
compression.integer.chunk.size=N
compression.tmp-inverted.integer.ids.codec=the IntegerCodec
to use to compress ids
compression.tmp-inverted.integer.ids.codec=the IntegerCodec
to use to compress tfs
compression.tmp-inverted.integer.ids.codec=the IntegerCodec
to use to compress fields (if any)
compression.tmp-inverted.integer.ids.codec=the IntegerCodec
to use to compress blocks (if any)
For example:
compression.tmp-inverted.integer.ids.codec=LemireFastPFORVBCodec
compression.tmp-inverted.integer.tfs.codec=LemireFastPFORVBCodec
compression.tmp-inverted.integer.fields.codec=LemireFastPFORVBCodec
compression.tmp-inverted.integer.blocks.codec=LemireFastPFORVBCodec
indexing.tmp-inverted.compression.configuration=IntegerCodecCompressionConfiguration
compression.integer.chunk.size=1024
NOTE: BE CAREFUL, THIS APPLICATION OVERWRITES THE INDEX!!CLITool.CLIParsedCLITool, CLITool.HelpAliasCLITool, CLITool.HelpCLITool
POPULAR_COMMANDS
Constructor and Description |
---|
InvertedIndexRecompresser() |
Modifier and Type | Method and Description |
---|---|
String |
commandname()
What commandname should this command respond to
|
String |
help()
Return a long message about how to use this command
|
String |
helpsummary()
Returns a short sentence about what this command is for
|
static void |
main(String[] args) |
static void |
recompressInverted(IndexOnDisk index) |
int |
run(String[] args) |
commandaliases, run, run, setConfiguration
public String commandname()
CLITool
commandname
in class CLITool
public String help()
CLITool
public String helpsummary()
CLITool
helpsummary
in class CLITool
public static void recompressInverted(IndexOnDisk index) throws Exception
Exception
public static void main(String[] args)
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow