mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 12:17:35 +03:00
more fixes for qa'ing of new spider status docs
This commit is contained in:
parent
10a31783bb
commit
5e46262cb2
@ -4974,6 +4974,9 @@ bool printResult ( State0 *st, int32_t ix , int32_t *numPrintedSoFar ) {
|
||||
// . docId for possible cached link
|
||||
// . might have merged a bunch together
|
||||
sb->safePrintf("\t\t<docId>%"INT64"</docId>\n",mr->m_docId );
|
||||
}
|
||||
|
||||
if ( si->m_format == FORMAT_XML && mr->m_contentType != CT_STATUS ) {
|
||||
// . show the site root
|
||||
// . for hompages.com/users/fred/mypage.html this will be
|
||||
// homepages.com/users/fred/
|
||||
@ -5021,6 +5024,9 @@ bool printResult ( State0 *st, int32_t ix , int32_t *numPrintedSoFar ) {
|
||||
// . docId for possible cached link
|
||||
// . might have merged a bunch together
|
||||
sb->safePrintf("\t\t\"docId\":%"INT64",\n",mr->m_docId );
|
||||
}
|
||||
|
||||
if ( si->m_format == FORMAT_JSON && mr->m_contentType != CT_STATUS ) {
|
||||
// . show the site root
|
||||
// . for hompages.com/users/fred/mypage.html this will be
|
||||
// homepages.com/users/fred/
|
||||
|
12
qa.cpp
12
qa.cpp
@ -184,6 +184,7 @@ void processReply ( char *reply , int32_t replyLen ) {
|
||||
markOut ( content , "spider is done (");
|
||||
markOut ( content , "spider is paused (");
|
||||
markOut ( content , "spider queue empty (");
|
||||
markOut ( content , "spider is active (");
|
||||
|
||||
markOut ( content , "<totalShards>");
|
||||
|
||||
@ -201,11 +202,12 @@ void processReply ( char *reply , int32_t replyLen ) {
|
||||
markOut ( content , "\"responseTimeMS\":");
|
||||
markOut ( content , "\"docsInCollection\":");
|
||||
|
||||
markOut ( content , "\"gbssDownloadStartTime\":");
|
||||
markOut ( content , "\"gbssDownloadEndTime\":");
|
||||
markOut ( content , "\"gbssDownloadStartTimeMS\":");
|
||||
markOut ( content , "\"gbssDownloadEndTimeMS\":");
|
||||
markOut ( content , "\"gbssDownloadDurationMS\":");
|
||||
markOut ( content , "\\\"gbssDownloadStartTime\\\":");
|
||||
markOut ( content , "\\\"gbssDownloadEndTime\\\":");
|
||||
markOut ( content , "\\\"gbssDownloadStartTimeMS\\\":");
|
||||
markOut ( content , "\\\"gbssDownloadEndTimeMS\\\":");
|
||||
markOut ( content , "\\\"gbssDownloadDurationMS\\\":");
|
||||
markOut ( content , "\\\"gbssAgeInIndex\\\":");
|
||||
|
||||
// for xml
|
||||
markOut ( content , "<currentTimeUTC>" );
|
||||
|
Loading…
Reference in New Issue
Block a user