Benchmark module: Fix obsolete reference to 'doc.maker.forever' (it's actually 'content.source.forever')

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Wayne Smiley 2014-12-18 04:42:01 +00:00
parent 82a09ecd3e
commit d0ff9d15c9
2 changed files with 2 additions and 3 deletions

View File

@ -230,7 +230,7 @@ The following is an informal description of the supported syntax.
without iterating over the same file again, especially when the exact
number of documents is not known in advance. For instance, TREC files extracted
from a zip file. Note: when using this, you must also set
<font color="#FF0066">doc.maker.forever</font> to false.
<font color="#FF0066">content.source.forever</font> to false.
<br>Example - <font color="#FF0066">{ AddDoc } : *</font> - would add docs
until the doc maker is "exhausted".
</li>

View File

@ -350,8 +350,7 @@ public class TrecContentSourceTest extends LuceneTestCase {
props.setProperty("print.props", "false");
props.setProperty("content.source.verbose", "false");
props.setProperty("content.source.excludeIteration", "true");
props.setProperty("doc.maker.forever", "false");
props.setProperty("docs.dir", dataDir.toRealPath().toString().replace('\\','/'));
props.setProperty("docs.dir", dataDir.toRealPath().toString().replace('\\','/'));
props.setProperty("trec.doc.parser", TrecParserByPath.class.getName());
props.setProperty("content.source.forever", "false");
tcs.setConfig(new Config(props));