beautypg.com

Document status, Index – Google Search Appliance Administrative API Developers Guide: Java User Manual

Page 21

background image

Google Search Appliance: Administrative API Developer’s Guide: Java

21

Document Status

Retrieve document status using the properties that follow.

Retrieving Document Status

Retrieve the document status as follows:

GsaEntry myEntry = myClient.getEntry("status", "documentStatus");
System.out.println("Served URLs: " + myEntry.getGsaContent("servedURLs"));
System.out.println("Crawled Pages Per Second: " +

myEntry.getGsaContent("crawlPagePerSecond"));

System.out.println("Crawled URLs Today: " +

myEntry.getGsaContent("crawledURLsToday"));

System.out.println("Found URLs: " + myEntry.getGsaContent("foundURLs"));
System.out.println("Filtered Bytes: " + myEntry.getGsaContent("filteredBytes"));
System.out.println("Error URLs Today: " +

myEntry.getGsaContent("errorURLsToday"));

Index

The sections that follow describe how to configure the Index features of the Admin Console:

“Collections” on page 22

“Index Diagnostics” on page 23

“Content Statistics” on page 28

“Reset Index” on page 29

Property

Description

crawledURLsToday

The number of documents crawled since yesterday. (Note that the time
pertains to the search appliance, not the computer sending this request.)

crawlPagePerSecond

Current crawling rate.

errorURLsToday

The document errors since yesterday.

filteredBytes

The document bytes that have been filtered.

foundURLs

The number of URLs found that match crawl patterns.

servedURLs

The total number of documents that have been served.