[TR-290] Integer compression properties should be more uniform with others Created: 21/May/14  Updated: 16/Jun/14  Resolved: 26/May/14

Status: Resolved
Project: Terrier Core
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0

Type: Improvement Priority: Minor
Reporter: Craig Macdonald Assignee: Richard McCreadie
Resolution: Fixed  
Labels: None

Issue Links:
Related
relates to TR-311 New integer compression techniques fo... Resolved

 Description   
See
http://terrier.org/issues/browse/TREC-334?focusedCommentId=11434&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_11434

Various places also need to change:
 - unit tests
 - and IntegerCodecCompressionConfiguration


 Comments   
Comment by Richard McCreadie [ 22/May/14 ]

Index recompressor needs to change too

Comment by Richard McCreadie [ 22/May/14 ]

indexing.direct.compression.configuration and indexing.inverted.compression.configuration are the main compression configuration properties.

E.g.

#this property is ok
indexing.direct.compression.configuration=org.terrier.structures.integer.indexing.IntegerCodecCompressionConfiguration
#these properties should be renamed indexing.inverted.compression.integer....
compression.inverted.integer.ids.codec=LemireFORVBCodec
compression.inverted.integer.tfs.codec=LemireFORVBCodec
compression.inverted.integer.fields.codec=LemireFORVBCodec
compression.inverted.integer.blocks.codec=LemireFORVBCodec
#this property should be specific to the structure also
compression.integer.chunk.size=1024
Comment by Richard McCreadie [ 26/May/14 ]

Switched format slightly (indexing->index) to make it consistent with existing properties where appropriate:

indexing.structureName.compression.configuration=IntegerCodecCompressionConfiguration

index.structureName.compression.integer.ids.codec=LemireFORVBCodec
index.structureName.compression.integer.tfs.codec=LemireFORVBCodec
index.structureName.compression.integer.fields.codec=LemireFORVBCodec
index.structureName.compression.integer.blocks.codec=LemireFORVBCodec
index.structureName.compression.integer.chunk.size=1024

Comment by Richard McCreadie [ 26/May/14 ]

Committed r3868

Generated at Mon Dec 11 00:19:23 GMT 2017 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.