Commit 621e5d70 authored by Panagiotis Papadakos's avatar Panagiotis Papadakos
Browse files

[Config] Also add a meta index that holds information about metadata about the...

[Config] Also add a meta index that holds information about metadata about the index like avgDL of collection, path of collection, timestamp, etc.
parent 72ea9591
......@@ -111,6 +111,16 @@ public class Config {
return __PROP__.getProperty("DOCUMENTS_FILENAME");
}
/**
* Returns the filename of meta index, holding meta information about the
* index
*
* @return
*/
public String getMetaFileName() {
return __PROP__.getProperty("META_FILENAME");
}
/**
* Returns if we should user the stemmer
*
......
......@@ -13,3 +13,4 @@ DATASET_PATH = /home/papadako/dataset
VOCABULARY_FILENAME=vocabulary.idx
POSTINGS_FILENAME=postings.idx
DOCUMENTS_FILENAME=documents.idx
META_FILENAME=meta.idx
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment