public virtual void Dispose() { if (ValueStream != null) { ValueStream.Dispose(); } if (KeyStream != null) { KeyStream.Dispose(); } if (DocStream != null) { DocStream.Dispose(); } if (ValueIndexStream != null) { ValueIndexStream.Dispose(); } if (KeyIndexStream != null) { KeyIndexStream.Dispose(); } if (DocIndexStream != null) { DocIndexStream.Dispose(); } }
public void Dispose() { WritableValueStream.Dispose(); ValueIndexStream.Dispose(); WritableValueIndexStream.Dispose(); WritableKeyMapStream.Dispose(); ValueStream.Dispose(); }
public void Dispose() { if (_disposed) { return; } WritableValueStream.Dispose(); ValueIndexStream.Dispose(); WritableValueIndexStream.Dispose(); WritableKeyMapStream.Dispose(); ValueStream.Dispose(); _disposed = true; }
public virtual void Dispose() { ValueStream.Dispose(); KeyStream.Dispose(); DocStream.Dispose(); ValueIndexStream.Dispose(); KeyIndexStream.Dispose(); DocIndexStream.Dispose(); if (PostingsStream != null) { PostingsStream.Dispose(); } if (VectorStream != null) { VectorStream.Dispose(); } }