[TR-269] Document default values for indexing.singlepass.max.postings.memory and indexing.max.docs.per.builder Created: 15/Feb/12  Updated: 04/Apr/14  Resolved: 16/Apr/12

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

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

See BasicSinglePassIndexer

MAX_DOCS_PER_BUILDER = Integer.parseInt(ApplicationSetup.getProperty("indexing.max.docs.per.builder", "0"));
maxMemory = Long.parseLong(ApplicationSetup.getProperty("indexing.singlepass.max.postings.memory", "0"));

maxMemory for sure should be more than 0 bytes!

Comment by Craig Macdonald [ 16/Apr/12 ]

Udpated title

Comment by Craig Macdonald [ 16/Apr/12 ]

Default values of 0 have special meanings - i.e. no limits!

Comment by Craig Macdonald [ 16/Apr/12 ]

Semantic of default/zero values are now document in javadoc, r3603

Generated at Mon Feb 24 11:17:33 GMT 2020 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.