lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Causse <dcau...@spotter.com>
Subject InstatiatedIndex questions
Date Wed, 19 Nov 2008 10:00:35 GMT
Hi,

Here are some differences I noticed between InstanciatedIndex and 
RAMDirectory :

- RAMDirectory seems to do a reset on tokenStreams the first time, this 
permits to initialise some objects before starting streaming, 
InstanciatedIndex does not.
- I can Serialize a RAMDirectory but I cannot on a InstantiatedIndex 
because of : java.io.NotSerializableException: 
org.apache.lucene.index.TermVectorOffsetInfo

Do you consider this as problems or normal features?

Thank you.

David.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message