Current Forum: Homework 5 - Part 3 |
Date: Mon Nov 19 2001 9:19 pm |
Author: Scherer, Sebastian <basti@cmu.edu> |
Subject: Re: SAVING AND RESTORING the TRIE |
|
|
Hi, If you want to use ObjectInput/OutputStream you have to make all Objects serializable. You can do that by just writing "implements Serializable" behind the class name. I think it is a philosophical question if you want to write out the objects by Strings or by ObjectInput/OutputStream. The advantage of input output Stream is, that you could store results from different crawlers in a object and compare them to different search engines by just loading them since the objects are interchangeable. I also guess that the overhead is getting less and less the bigger your index gets.
Sebastian |
|