Commit b923fdb4 authored by Panagiotis Papadakos's avatar Panagiotis Papadakos
Browse files

[Config] Also add a path for the collection we want to index

parent cb9499d0
......@@ -57,11 +57,20 @@ public class Config {
}
/**
* Currently we only have a property about the index path
* a property about the index path
*
* @return
*/
public String getIndexPath() {
return prop.getProperty("INDEX_PATH");
}
/**
* a property about the dataset path
*
* @return
*/
public String getDatasetPath() {
return prop.getProperty("DATASET_PATH");
}
}
INDEX_PATH = /home/papadako/index/
DATASET_PATH = /home/papadako/dataset
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