Re: InstatiatedIndex questions

2008-11-19 Thread David Causse
Hi Karl, The reset() problem is not very problematic I can adapt our TokenStreams. For the Serialization : as we need to share very small indexes (200 docs max) in a cluster we need to serialize something. I was planning to use the Java Serialization with maybe some compression on the resulting

Re: InstatiatedIndex questions

2008-11-19 Thread karl wettin
Hi David, thanks for the report! I suppose you speak of IndexWriter vs InstantiatedIndexWriter? These are definitely considered discrepancy problems. I've created a new issue in the tracker: http://issues.apache.org/jira/browse/LUCENE-1462 For what reason do you try to serialize the InstantatedIn

InstatiatedIndex questions

2008-11-19 Thread David Causse
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