mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
get cloned crawl start parameter for snapshots
This commit is contained in:
parent
a1ee101079
commit
6f0167fac1
|
@ -472,7 +472,7 @@
|
|||
means a snapshot is only be generated if the crawl depth of a document is smaller or equal to the given number here. If the number is set to -1,
|
||||
no snapshots are generated.
|
||||
</span></span>
|
||||
<input type="text" name="snapshotsMaxDepth" id="snapshotsMaxDepth" size="2" maxlength="2" value="-1" />
|
||||
<input type="text" name="snapshotsMaxDepth" id="snapshotsMaxDepth" size="2" maxlength="2" value="#[snapshotsMaxDepth]#" />
|
||||
</dd>
|
||||
<dt><label for="snapshot">Multiple Snapshot Versions</label></dt>
|
||||
<dd>
|
||||
|
|
|
@ -517,6 +517,7 @@ public class CrawlStartExpert {
|
|||
sb.getConfigBool("proxyAlwaysFresh", false) &&
|
||||
Html2Image.wkhtmltopdfAvailable() && Html2Image.convertAvailable()) {
|
||||
prop.put("snapshotSelect", 1);
|
||||
prop.put("snapshotSelect_snapshotsMaxDepth", post == null ? "-1" : post.get("snapshotsMaxDepth", "-1"));
|
||||
} else {
|
||||
prop.put("snapshotSelect", 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user