Skip to content

Commit

Permalink
now again in bytes indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
amit223 committed Jan 1, 2019
1 parent afa7694 commit e9c5995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/Indexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -1535,8 +1535,8 @@ public void run(){
byte[] lineDoc = Indexer.toBytes(Integer.valueOf(postDetails[0]));

byte[] tf = Indexer.toBytes(Integer.valueOf(postDetails[1]));
writer.write(Integer.valueOf(postDetails[0]));
writer.write(Integer.valueOf(postDetails[1]));
writer.write(lineDoc);
writer.write(tf);
line=reader.readLine();
lineNum+=1;
}
Expand Down

0 comments on commit e9c5995

Please sign in to comment.