C# (CSharp) Lucene.Net.Index IndexReader.IncRef - 7 exemples trouvés. Ce sont les exemples réels les mieux notés de Lucene.Net.Index.IndexReader.IncRef extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Expert: increments the refCount of this IndexReader instance. RefCounts are used to determine when a reader can be closed safely, i.e. as soon as there are no more references. Be sure to always call a corresponding DecRef, in a finally clause; otherwise the reader may never be closed. Note that Close simply calls decRef(), which means that the IndexReader will not really be closed until DecRef has been called for all outstanding references.