
//lucene::index::IndexReader(index::store::Directory* dir);
//lucene::index::IndexReader(index::store::Directory* directory, SegmentInfos* segmentInfos, bool closeDirectory);


%ignore lucene::index::IndexWriter::IndexWriter(const char* path, lucene::analysis::Analyzer* a, const bool create, const bool closeDir);
%ignore lucene::index::IndexWriter::IndexWriter(lucene::store::Directory* d, lucene::analysis::Analyzer* a, const bool create, const bool closeDir);
%rename (Initialise) lucene::index::IndexWriter::IndexWriter(const char* path, lucene::analysis::Analyzer* a, const bool create);
%rename (InitialiseWithDir) lucene::index::IndexWriter::IndexWriter(lucene::store::Directory* d, lucene::analysis::Analyzer* a, const bool create);
