Method HasUncommittedChanges
HasUncommittedChanges()
Returns true
if there may be changes that have not been
committed. There are cases where this may return true
when there are no actual "real" changes to the index,
for example if you've deleted by Term or Query but
that Term or Query does not match any documents.
Also, if a merge kicked off as a result of flushing a
new segment during Commit(), or a concurrent
merged finished, this method may return true
right
after you had just called Commit().
Declaration
public bool HasUncommittedChanges()
Returns
Type | Description |
---|---|
System.Boolean |