Community
Participate
Working Groups
Build 20030716 Instead of manually resolving all owned working copies, it could only throw these which have unsaved changes. The saved one have been indexed already. Handles should still be mapped to the owned one (if any).
Actually, it may be slightly more difficult than that. If the underlying resource is changed again, then it will be further reindexed, and the working copy will still reflect the old state. The index state cannot be trusted then. Unless we are smart enough to notice that a working copy is in sync with the underlying resource, we shouldn't change. Deferring (for now)
Reopening, #isBasedOn should address the consistency issue.
Changed SearchEngine to remove from the list of working copies to consider the ones that are primary, that don't have unsaved changes, and that are based on the underlying resource. See SearchEngine.getWorkingCopies().
Verified.