Hi guys. FST currently uses IndexInput/IndexOutput to perform
serialization and the suggester framework expects a single file. Is
there any nice way to do this? I ask because I considered these, but
they all seem clumsy:

a) serialize suggester data to a subfolder (using regular
FSDirectory); this would be different than other suggesters,
b) use FSDirectory, serialize using this and then move the file from a
subfolder, then delete it.
c) use custom subclasses of IndexInput IndexOutput that accept a
simple File and serialize directy.

At the moment I use option (c), actually, but better hints would be welcome.

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to