nextapps-de / flexsearch

Next-Generation full text search library for Browser and Node.js
Apache License 2.0
12.53k stars 491 forks source link

Fixed duplicated entries in intersect for multiple query results #170

Closed Leyart closed 3 years ago

Leyart commented 4 years ago

This fixes correctly the change done in https://github.com/nextapps-de/flexsearch/pull/141 In https://github.com/nextapps-de/flexsearch/pull/141 we were adding all the entries in case of multiple queries results in or, but without adding them to the map of the existing entries, so no checks were performed and possible duplicates could have been added.