mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-04-18 18:18:49 -04:00
crawling to the YaCy indexer. Files are uploaded using POST multipart requests; multiple file uploads are possible as well. Each file has attached the file date and mime type which is used to get the right parser for the submitted data. Also an url is submitted which is assigned to the document. The CrawlSwitchboard has a new option for default Crawl Profiles which are assigned dynamically from the new push interface.
15 lines
387 B
JSON
15 lines
387 B
JSON
{#(mode)#::
|
|
"count":"#[count]#",
|
|
"successall": #(successall)#"false"::"true"#(/successall)#,
|
|
#{results}#
|
|
"item-#[item]#":{
|
|
"item":"#[item]#",
|
|
"url":"#[url]#",
|
|
"success": #(success)#"false"::"true"#(/success)#,
|
|
"message": #(success)#"#[message]#"::"#[message]#"#(/success)#
|
|
},
|
|
#{/results}#
|
|
"countsuccess":#[countsuccess]#,
|
|
"countfail":#[countfail]#
|
|
#(/mode)#}
|