public SonesLuceneIndex(String myIndexId, String myPersistencePath = null, IList<Int64> myPropertyIDs = null) { if (myIndexId == null) throw new ArgumentNullException("myIndexId"); if (myPersistencePath == null) { _LuceneIndex = new LuceneIndex(myIndexId); } else { _LuceneIndex = new LuceneIndex(myIndexId, myPersistencePath); } IndexId = myIndexId; if (myPropertyIDs != null) { Init(myPropertyIDs); } }
public SonesLuceneIndex(String myIndexId, String myPersistencePath = null, IList <Int64> myPropertyIDs = null) { if (myIndexId == null) { throw new ArgumentNullException("myIndexId"); } if (myPersistencePath == null) { _LuceneIndex = new LuceneIndex(myIndexId); } else { _LuceneIndex = new LuceneIndex(myIndexId, myPersistencePath); } IndexId = myIndexId; if (myPropertyIDs != null) { Init(myPropertyIDs); } }