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
857ffc81
Commit
857ffc81
authored
Mar 24, 2020
by
Panagiotis Papadakos
Browse files
typo
parent
b324a9a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/main/java/gr/csd/uoc/hy463/themis/indexer/indexes/Index.java
...n/java/gr/csd/uoc/hy463/themis/indexer/indexes/Index.java
+7
-7
No files found.
src/main/java/gr/csd/uoc/hy463/themis/indexer/indexes/Index.java
View file @
857ffc81
...
...
@@ -98,13 +98,13 @@ public class Index {
* =========================================================================
* 3) DOCUMENTS FILE => documents.idx (Random Access File)
*
* For each entry it stores: | Title (variable bytes
) | Author1,Author2,
* ...,Author_k (variable
size
) | AuthorID1,
AuthorID, ...,Author_IDk
* (variable size) | Year (
2 bytes short)| Journal Name (variable bytes) |
*
The weight (norm) of Document (double => 8 bytes)| Length of Document
*
(int
=>
4
bytes)
|
PageRank Score (double
=>
8
bytes
=> this will be used
*
in the second phase of the project)
*
* For each entry it stores: | Title (variable bytes
/ UTF-8) |
*
Author_1,Author_2,
...,Author_k (variable
bytes / UTF-8
) | AuthorID
_
1,
*
AuthorID_2, ...,Author_ID_k
(variable size
/ASCII
) | Year (
short => 2
*
bytes)| Journal Name (variable bytes / UTF-8) | The weight (norm) of
*
Document (double
=>
8
bytes)|
Length of Document (int
=>
4
bytes
) |
*
PageRank Score (double => 8 bytes => this will be used in the second
*
phase of the project)
*
* ==> IMPORTANT NOTES
*
...
...
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