mirror of https://github.com/apache/lucene.git
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:
parent
82a09ecd3e
commit
d0ff9d15c9
|
@ -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>
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue