There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Using Union and Intersect in WhereThroughIndex in i4o v2
In v2 branch in WhereThroughIndex results from different indexes are combined using Union and Intersect. However Union and Intersect, while operating on IEnumerable interface, are set operations. They return sets, and because of that they remove duplicates.
So, there's a bug: if original sequence contains duplicates, result returned from WhereThroughIndex with complex query is not.