Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PAPADAKOS PANAGIOTIS
themis
Commits
65764770
Commit
65764770
authored
Mar 18, 2020
by
Panagiotis Papadakos
Browse files
[Config] Add also filenames of indexes to config
parent
b6863433
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
src/main/java/gr/csd/uoc/hy463/themis/config/Config.java
src/main/java/gr/csd/uoc/hy463/themis/config/Config.java
+27
-0
src/main/resources/themis.config
src/main/resources/themis.config
+3
-0
No files found.
src/main/java/gr/csd/uoc/hy463/themis/config/Config.java
View file @
65764770
...
...
@@ -80,6 +80,33 @@ public class Config {
return
__PROP__
.
getProperty
(
"DATASET_PATH"
);
}
/**
* Returns the filename of vocabulary index
*
* @return
*/
public
String
getVocabularyFileName
()
{
return
__PROP__
.
getProperty
(
"VOCABULARY_FILENAME"
);
}
/**
* Returns the filename of postings index
*
* @return
*/
public
String
getPostingsFileName
()
{
return
__PROP__
.
getProperty
(
"POSTINGS_FILENAME"
);
}
/**
* Returns the filename of documents index
*
* @return
*/
public
String
getDocumentsFileName
()
{
return
__PROP__
.
getProperty
(
"DOCUMENTS_FILENAME"
);
}
/**
* number of max number of files per each partial index
*
...
...
src/main/resources/themis.config
View file @
65764770
INDEX_PATH
= /
home
/
papadako
/
index
/
DATASET_PATH
= /
home
/
papadako
/
dataset
PARTIAL_INDEX_MAX_DOCS_SIZE
=
200000
VOCABULARY_FILENAME
=
vocabulary
.
idx
POSTINGS_FILENAME
=
postings
.
idx
DOCUMENTS_FILENAME
=
documents
.
idx
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment