Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

InstatiatedIndex questions

David Causse

2008-11-19

Replies: Find Java Web Hosting

Author LoginPost Reply
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@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.