#The server root
$SERVER_ROOT = "/servers/npac_http/html/";

# Where the indexer should start...
$BASE_DIR = "/servers/npac_http/html/";

$BASE_URL = "http://www.npac.syr.edu/";
$CGIBIN = "/servers/npac_http/cgi-bin/index/";

$SEARCH = "search.cgi";
$SEARCH_URL = "http://www.npac.syr.edu/cgi-bin/index/search.cgi";

$INDEXER = "indexer.cgi";
$INDEXER_URL = "http://www.npac.syr.edu/cgi-bin/index/search.cgi";

# The extensions of the files you want the indexer to process;
# files with no extension are not indexed. 
@VALID_EXTENSIONS = (
        "htm",
	"html",
	"shtml",
	"stm",
	"asp",
	"stx",
	"txt"
);

# The minimum keyword length. Suggested values are 3 or 4.
$MIN_WORD_LENGTH = 3;

# How important it is to find a keyword in the document description meta tag
$META_D_WEIGHT = 5;
# How important it is to find a keyword in the document keywords meta tag
$META_K_WEIGHT = 5;
# How important it is to find a keyword in the document title
$TITLE_WEIGHT = 10;
# How important it is to find a keyword in the document content
$CONTENT_WEIGHT = 1;

# The index file (unless  below is set to 1 this file is not stored)
$INDEX_FILE = "/servers/npac_http/cgi-bin/index/psearch/contents.index";
# The flattened index file
$FLAT_INDEX_FILE = "/servers/npac_http/cgi-bin/index/psearch/word.index";
# The file which describes the assignments of documents to numbers
$FILE_INDEX_FILE = "/servers/npac_http/cgi-bin/index/psearch/file.index";

# The name of the files which include excluded dirs and files.
# You shouldn't need to change those.
$EXCLUDE_FILES_FILENAME = "/servers/npac_http/cgi-bin/index/psearch/exclude_files";
$EXCLUDE_DIRS_FILENAME  = "/servers/npac_http/cgi-bin/index/psearch/exclude_dirs";

# The name of the file which includes the stopwords.
# You shouldn't need to change that.
$STOPWORDS_FILENAME = "/servers/npac_http/cgi-bin/index/psearch/stopwords";


#How many items should appear per page
$PAGE_ITEMS = 10;

# The templates to be used for rendering the output 
$TEMPLATE_DIR = "/servers/npac_http/cgi-bin/index/psearch/templates";
$TEMPLATE_PAGE_FILE = "$TEMPLATE_DIR/search_page.html";
$TEMPLATE_LINE_FILE = "$TEMPLATE_DIR/search_line.html";

# Set this to 1 if you want readable but 4*size indexes and an index
# of the contents of each file. Normally set to 0.
$DEBUG = 0;

# Don't touch the line below
1;
