public class IndexServer extends Object implements CleanupIF
The server sets up handlers for three kinds of indexes (as defined by RequestType): A CDX index, where each index is one file, gzip-compressed. A DEDUP_CRAWL_LOG index, where each index is multiple files, gzip-compressed, making up a Lucene index of non-HTML files. A FULL_CRAWL_LOG index, where each index is multiple files, gzip-compressed, making up a Lucene index of all files.
Modifier | Constructor and Description |
---|---|
protected |
IndexServer()
Instantiates the two handlers, and starts listening for requests.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Close the server.
|
static IndexServer |
getInstance()
Get the unique index server instance.
|
protected IndexServer()
public static IndexServer getInstance()
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.