Discussion Board
Go to the previous messageThere are no next messages
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
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
SAVING AND RESTORING the TRIE      Patnaik, Rohit      Sun Nov 18 2001 9:40 pm       
Re: SAVING AND RESTORING the TRIE      Lee, Charles C.      Sun Nov 18 2001 10:09 pm       
Re: SAVING AND RESTORING the TRIE      Chun, Clifford C.      Sun Nov 18 2001 11:00 pm       
Re: SAVING AND RESTORING the ...      Lee, Charles C.      Mon Nov 19 2001 2:23 am       
Re: SAVING AND RESTORING the TRIE      Scherer, Sebastian      Mon Nov 19 2001 9:19 pm       

Back to previous screen