Index: src/java/org/apache/lucene/store/instantiated/InstantiatedIndexWriter.java =================================================================== --- src/java/org/apache/lucene/store/instantiated/InstantiatedIndexWriter.java (revision 821880) +++ src/java/org/apache/lucene/store/instantiated/InstantiatedIndexWriter.java (arbetskopia) @@ -55,6 +55,7 @@ *
* Consider using InstantiatedIndex as if it was immutable. * + * @deprecated This class with be removed by Lucene 3.0. Instead build your index using a {@link org.apache.lucene.store.Directory} and {@link org.apache.lucene.index.IndexWriter} and pass the {@link org.apache.lucene.index.IndexReader} to {@link org.apache.lucene.store.instantiated.InstantiatedIndex#InstantiatedIndex(org.apache.lucene.index.IndexReader)} or {@link org.apache.lucene.store.instantiated.InstantiatedIndex#InstantiatedIndex(org.apache.lucene.index.IndexReader, java.util.Set)}. * @see org.apache.lucene.index.IndexWriter */ public class InstantiatedIndexWriter {