Method Acquire
Acquire(Int64)
Retrieve a previously recorded IndexSearcher, if it has not yet been closed.
NOTE: this may return null
when the
requested searcher has already timed out. When this
happens you should notify your user that their session
timed out and that they'll have to restart their
search.
If this returns a non-null result, you must match later call Release(IndexSearcher) on this searcher, best from a finally clause.
Declaration
public virtual IndexSearcher Acquire(long version)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | version |
Returns
Type | Description |
---|---|
IndexSearcher |